Indicate the error in this statement: float total_cost 0.00

A. Variables can not be initialized in the declaration statement.
B. It is only missing a ;.
C. It is missing a ; and and = between total_cost and 0.00.
D. Float should be capitalized.


C

Computer Science & Information Technology

You might also like to view...

Which method returns an array of the enum’s constants?

a. values. b. getValues. c. constants. d. getConstants.

Computer Science & Information Technology

Which of the following can be an argument to a method?

a. Constants. b. Variables. c. Expressions. d. All of the above.

Computer Science & Information Technology

A(n) ________ is text that displays at the bottom of every slide in a presentation

Fill in the blank(s) with correct word

Computer Science & Information Technology

A history of websites visited can be retrieved from a hidden file called ________. dat

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology