These problems have been given me troble for a couple of days please help me!!!
problem 1:
This program calculates the charges for DVD rentals where current releases cost $3.5 and all others cast $2.50. If a customer rents several DVDs, every third one is free. You need to tell the user what their total cost of rental whould be based on the amount of Dvds the user enters(decides to rent).
problem 2:
Write a program that asks the user to enter a number within the range of 1-10. Use a switch statement to display the Roman Numeral version of that number.Please submit your program using blackboard and ensure that you submit the .cpp file not the .exe file.
Input Validation. Do NOT accept a number less than 1 or greater than 10.
problem 3:
Write a program that calculates how much pennies a person earns in a month if the salary is one penny for the first day, 2 for the second, four for the third, eight for the fourth, the number doubling for every extra day worked.
The program should display a table showing how much the salary was for each day worked, as well as the total pay earned for the period. The output should be displayed in dollars with 2 decimal places, not in pennies. Hint: You should print out the particular day's earnings as soon as you calculate what it should be. After you displayed every day then you display the total.
Input validation: Do no accept a number less than 1 or more than 31 for the number of days in the month.
I NEED YOUR HELP
problem 1:
This program calculates the charges for DVD rentals where current releases cost $3.5 and all others cast $2.50. If a customer rents several DVDs, every third one is free. You need to tell the user what their total cost of rental whould be based on the amount of Dvds the user enters(decides to rent).
problem 2:
Write a program that asks the user to enter a number within the range of 1-10. Use a switch statement to display the Roman Numeral version of that number.Please submit your program using blackboard and ensure that you submit the .cpp file not the .exe file.
Input Validation. Do NOT accept a number less than 1 or greater than 10.
problem 3:
Write a program that calculates how much pennies a person earns in a month if the salary is one penny for the first day, 2 for the second, four for the third, eight for the fourth, the number doubling for every extra day worked.
The program should display a table showing how much the salary was for each day worked, as well as the total pay earned for the period. The output should be displayed in dollars with 2 decimal places, not in pennies. Hint: You should print out the particular day's earnings as soon as you calculate what it should be. After you displayed every day then you display the total.
Input validation: Do no accept a number less than 1 or more than 31 for the number of days in the month.
I NEED YOUR HELP
Comment