Homework 12 - Line 15 the error is in side-c The line...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework 12 2. For our project GUI might be useful because we are planning on making a chemical balancer so that it would make it easier for the user. The user could just put the chemical equation into the GUI and it would make it very easy to use. 3. Errors in conditional statements Line 13: the line says elseif. To fix it you need it to be an else statement. Line 15: the error in this line is that heron_A should be heron_area.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Line 15: the error is in side-c. The line should actually say side_c. 4. Errors in looping structures Line 13: the error is that it says New_matrix. To fix it, it must be a lower case n and be new_matrix. Line 18 and 20: The errors in both these lines is that it says else while. There is no such thing as an else while statement so to fix it, it must say else or else if....
View Full Document

This note was uploaded on 09/20/2011 for the course ENGINEERIN 132 taught by Professor Lee during the Spring '11 term at Purdue.

Ask a homework question - tutors are online