go to previous page   go to home page  

Answer:

Why is a type cast used in score = (int)round(base + scale*raw); ?

score is an int. Without the type cast the compiler will complain about possible loss of precision.


Run of the Program

Run of the Program

Above is a run of the program.


You have reached the end of the chapter.

go to previous page   go to home page