1. Engineering
  2. Computer Science
  3. be carefulfiles from the internet can contain viruses unless you...

Question: be carefulfiles from the internet can contain viruses unless you...

Question details

Be careful--files from the Internet can contain viruses. Unless you need to edit, its safer to stay in Protected View. I PROTECTED VIEW Enable RT10.0 R*T=200.0 Exercise #3: Design and implement a program (name it coins) that determines the values of coins in a jar. The program prints out the total dollars and cents in the jar. The program prompts the user to enter the number of coins (quarters, dimes, nickels, and pennies). Print out the number of coins entered for each coin type on separate lines followed by the total amount of money in the jar as dollars and cents as shown below Sample run 1 Enter number of quarters: 2 Enter number of dimes: 2 Enter number of nickels: 2 Enter number of pennies: 2 You entered 2 quarters You entered 2 dimes You entered 2 nickels You entered 2 pennies Your total is 0 Dollars and 82 Cents. Sample run 2: Page 2 of 3 476 words dollars, quarters, dimes, nickels, and penni e consISts Or TO 0; int nickels-0, int cents-0; print 25; // Each quarter consists of 25 an amount of money... int dimes

File Horme Insert Draw Design Layout References Mailings Review View Help Tell m Be careful-files from the Internet can contain viruses. Unless you need to edit, its safer to stay in Protected View ee. Ena 1 ) PROTECTED VIEW Sample run 2 Enter number of quarters: 3 Enter number of dimes: 0 Enter number of nickels: 0 Enter number of pennies: 3 You entered 3 quarters You entered 0 dimes You entered 0 nickels You entered 3 pennies Your total is 0 Dollars and 78 Cents. Sample run 3: Enter number of quarters: 2 Enter number of dimes: 3 Enter number of nickels: 4 Enter number of pennies: 5 You entered 2 quarters You entered 3 dimes You entered 4 nickels Page 2 of 3 476 words domars, quarters, dimes, nickers, ana pennies sne #25; // Each quarter consists of 25 int dimes-0, int nickels 0; int cents-0; p

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution