Question: Specify whether each of the following errors is a syntax error, a runtime error or a logic error: a. using single quotes where command needs

Specify whether each of the following errors is a syntax error, a runtime error or a logic error: a. using single quotes where command needs double quotes _____ b. dollar and cents amount on a bill is not formatted correctly _____ c. divide a number by zero _____ (8) Evaluate the following expressions: a. fabs (-25.2) b. pow(4.0, 3.0) c. squareroot (400) d. fabs (8.2) e. squareroot (-400) f. floor(-6.7) g. floor(6.7) h. ceil(-4.1) (4) Indicate which of the following assignment statements are legal if x is an int variable and y is a float variable: a. y = x: b. x = y: c. y = (float) x: d. x = (int) y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
