Question: Write a Python3 program that prompts for and reads the amount of change in Saudi Riyals. It then finds and prints the minimum number of

 Write a Python3 program that prompts for and reads the amount

Write a Python3 program that prompts for and reads the amount of change in Saudi Riyals. It then finds and prints the minimum number of Saudi Riyal bills represented by the change. Assume that the bills available are 1,5,20, and 100 Riyals. Hint: Use % and // division. Sample runs: Enter amount of change in SAR: 565 The minimum number of bills is: 9 Number of 100 Riyal bills =5 Number of 20Riyal bills =3 Number of 5 Riyal bills =1 Number of 1 Riyal bills =0 Enter amount of change in SAR: 76 The minimum number of bills is: 7 Number of 100 Riyal bills =0 Number of 20Riyal bills =3 Number of 5 Riyal bills =3 Number of 1 Riyal bills =1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!