![]() |
CMSC104Problem Solving & Computer Programming |
Make sure that you follow all the coding standards
Do the following to create the Change Return Program :
Develop an interactive application in which the user enters a cost of an item less than $20 and pays for it with a $20 bill. The program will figure out the exact change due. Program will display the number of each type of bill, quarters, dimes, nickels, pennies needed.
Before you start coding, design and pseudocode your problem
Create a new file called algorithms3.txt At the top, list the basic functions the program will have to perform
Develope your code in algorithms3.c to implement the pseudocode.Hint: There should be at least two.
For main() and each of your functions, write appropriate pseudocode
From Linux on the GL machine:Write a C program (see below) and save it in a file called algorithms3.c in your ./CMSC104/cw3 directory Compile the program:
gcc -o algorithms3 algorithms3.c
Run the program to make sure it works:./algorithms3
Use the SUBMIT utility to turn in the homework.submit cs104_grasso cw03 algorithms3.c algorithms3.txt algorithms3