Question: A program declares a float variable named number, and the following statement causes an error. What can be done to fix the error? number =
A program declares a float variable named number, and the following statement causes an error. What can be done to fix the error?
number = 7.4;
Step by Step Solution
3.45 Rating (168 Votes )
There are 3 Steps involved in it
The statement should be number 74f This will fix ... View full answer
Get step-by-step solutions from verified subject matter experts
