2 is printed to the monitor:
(4 * (10 - 7) ) / 6 = (4 * 3) / 6 = 12 / 6 = 2 ------ ------- first second
Examine the following story problem:
Bob's Copy Shoppe charges 3 cents per page plus 5 cents per staple. You have a booklet that is made by stapling 7 pages together. Say that you want 25 copies of the booklet.
Will the following program correctly calculate the price?
' Duplicating costs: 7 pages, 3 cents per page, 5 cents per staple ' 25 copies PRINT (7 * 3 + 5) * 25 / 100, "dollars" END