Question: 1. Suppose that you want to develop a program that classifies a even amount of money into smatler monetary units. The program lets the user



1. Suppose that you want to develop a program that classifies a even amount of money into smatler monetary units. The program lets the user enter an amount as a double value representing a total dollar and cents, and cutputs a report listing the monetary equvalent in dotars, quarters, dimes nickels and pennies as shown below This program shouls be able to keep asong for end user for a new number to cnmeent untea negative number& entered Approach Prompt the user to eter the amount such as Convert amount into cents 111561 . Diide by 100 to find dolar amount 13 Divide the remainder by 25 to find the number of quarter: 2 Devide the remainder by I0:0 dime Devide remainder by S1 nickel The remaining are pennies:1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
