Question: C++ program. If someone could please show me how to write this program. Thanks!! For this assignment, you need to submit two items: 1. Use
For this assignment, you need to submit two items: 1. Use a word file to write the algorithm to solve the problem described below. You can submit the algorithm in pseudocode format or using a flowchart. Do not use both approaches, rather just pick one and write the algorithm as pseudocode or flowchart. 2. Submit your program file, i.e. your source code only as "source.cpp" file Write an algorithm and a program for the following task. Your program should takes as input any amount of money change expressed in cents. It should then compute the equivalent amount in number of dollars, quarters, dimes, nickels, and pennies. For output, the program will display on the console, the amount broken down in terms of the number dollars possible, then quarters, dimes, nickels, and pennies, in that order. For example, as shown in sample run below (user entered text is shown inred font), 491 cents are equivalent to 4 dollars, 3 quarters, 1 dime, 1 nickel, and 1 penny Requirements: Your program MUST USE symbolic constants to declare the number of cents per dollar, quarter, nickle and dime Sample Run Enter change in cents: 491 The change you entered is 491 cents This is equivalent to: 4 dollars 3 quarters 1 dimes 1 nickels 1 pennies
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
