Question: the program language is c++ and solve using variables method Money Money Money: Write a program that prompts the user to enter the money he/she

 the program language is c++ and solve using variables method Money

the program language is c++ and solve using variables method

Money Money Money: Write a program that prompts the user to enter the money he/she has in pennies, nickels, dimes, and quarters, then the program calculates the total money in pennies. For example if the user has 17 pennies, 29 nickels, 23 dimes, and 7 quarters, then the final answer is 17+5* 29+10* 23+25+ 7 = 567. Assume the following: 1 nickel is 5 pennies, 1 dime is 10 pennies, 1 quarter is 25 pennies. Sample input/output: Enter the pennies, nickels, dimes, and quarters: 17 29 23 7 The total money is: 567 Sum the Odd and Even Numbers Write a program that reads 5 positive integers, sums, and prints the odd and even integers. Sample input/output: Enter 5 positive integers: 27 8 56 12 99 The sum of odd integers is: 126 The sum of even integers is: 76 Carpet Price: The price of a carpet is 33 dirham per square foot. Write a program that prompts the user to enter the length and width of a carpet each in feet and inches. The program calculates and prints the area in square foot and the price of the carpet. Sample input/output: Enter the length in feet and inches: 53 Enter the width in feet and inches: 48 The price of 24.5 square foot is: 808.5 dirham 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!