• + 12 comments

    I was able to finish but I'm curious.

    Why is:

    dMealCost * nTipPercent/100;



    correct and the following wrong even if the second is done separately and stored through a double?

    dMealCost * (nTipPercent/100);