True/False
To get a floating-point average, type cast one of the variables (either total or count) to a double or a float to force the division to be performed as floating-point. double average = (double) ( total ) / count;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q32: In a for loop, a loop control
Q33: How many times will a loop with
Q34: for loops can be nested.
Q35: Which of the following questions should you
Q36: The loop condition can be a complex
Q38: You should always put a semicolon after
Q39: When we use a while loop, we
Q40: Using an if statement to validate input
Q41: while loops can be nested.
Q42: Which Java class enables us to read