For example if total is 97 the bills would consist of one


a. Write a set of detailed, step-by-step instructions in English to calculate the fewest number of dollar bills needed to pay a bill of amount TOTAL. For example, if TOTAL is $97, the bills would consist of one $50 bill, two $20 bills, one $5 bill, and two $1 bills. (For this exercise, assume that only $100, $50, $20, $10, $5, and $1 bills are available.)

b. Repeat Exercise 6a, but assume the bill is to be paid only in $1 bills.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: For example if total is 97 the bills would consist of one
Reference No:- TGS02196094

Expected delivery within 24 Hours