Question: Create an array called money to hold 5 double values. You will ask the user to enter in the 5 coins that were found in
Create an array called money to hold 5 double values. You will ask the user to enter in the 5 coins that were found in decimal amounts. You will output the amounts in original and reverse order as well as the sum of the coins, largest coin value, the smallest coin value and if any coins were repeated and how many of each coin was found. Coins can only be penny nickel dime or quarter. Since you have 5 one will be repeated for sure. Using the for method.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
