What is the difference between the result of the following


What is the difference between the result of the following two statements?

a. int cents = (int)(100 * price + 0.5);

b. int cents = (100 * price + 0.5);

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: What is the difference between the result of the following
Reference No:- TGS01034990

Expected delivery within 24 Hours