The following algorithm segment makes change; given an amount of money A between , it determines a breakdown of A into quarters (q), dimes (d), nickels (n), and pennies (p).
q : = A div 25
A : = A mod 25
d : = A div 10
A : = A mod 10
n : = A div 5
p : = A mod 5
a. Trace this algorithm segment for A = 69.
b. Trace this algorithm segment for A = 87.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.