What is the difference between the result of the following two statements? a. int cents = (int)(100 * price + 0.5); b....

profileokabee

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);

    • 11 years ago
    • 999999.99
    Answer(0)
    Bids(0)