DUE: Tuesday, April 13 before 11:00pm
Collaboration is strictly FORBIDDEN. Programs must represent YOUR OWN original work. Sharing code or team-coding are not allowed for this assignment. Copying code from ANY source (any book, current or past students, past solutions, the web, etc.) is not allowed. Cooperation to the extent of helping to debug, or discussing the general approach to solving the problem is encouraged, but should never involve communicating code or even pseudo-code or explicit algorithms. Your code must be unique -- if it is not, we will find out, and will treat it as a case of flagrant academic dishonesty.
You must turn in a C++ source file (and only a C++ source file). The name for your source file should be as1.cpp.
Turn in online to the appropriate folder for your lab section (e.g., as1_20 for students enrolled in lab section 20). If you turn your assignment in to the wrong folder, your assignment may not be graded. If it is graded, you will lose 2 pts (out of 10).
Remember to include the header as it is in the template provided on the class website.
Write a program that computes the amount of change a person has in their pocket. The program should ask how many of each type of coin they have and then output the total amount of change in cents.
The following are 2 different sample outputs to help you design your program. The numbers in bold indicate user input.
Sample 1
     Please enter the number of each type of coin in your pocket.Sample 2
     Please enter the number of each type of coin in your pocket.
2 pts: Correct variable declarations
2 pts: Gets input
2 pts: Calculations
2 pts: Gives output
1 pt: Header info (use report template header on syllabus)
1 pt: Compiles without errors
0 pts: Style
- Good variable names
- Proper indentation
- Good comments
- No line wraps
We will only give warnings for style violations on this assignment.