Assume that price is an integer variable whose value is the price (in US currency) in cents of an item.

LANGUAGE: Visual Basic

CHALLENGE:

Assume that price is an integer variable whose value is the price (in US currency) in cents of an item.  Assuming the item is paid for with a minimum amount of change and just single dollars, write an expression for the amount of change (in cents) that would have the be paid.

SOLUTION:

price Mod 100