Question: Program 1 (5 Marks) Note: Your submission should be a cpp file. Write a C++ program that prompts the user to enter a mark between

 Program 1 (5 Marks) Note: Your submission should be a cpp

Program 1 (5 Marks) Note: Your submission should be a cpp file. Write a C++ program that prompts the user to enter a mark between 0 and 100, and outputs its equivalent in text. For example, if the user enters 95, the program should output this text: "Exemplary performance". If the user enters 71, the output should be: "Proficient performance", and so on. The marks should be declared integer. The mark classes are as follows: [80-100): "Exemplary performance". (70 - 79): "Proficient performance". [60 - 69): "Adequate performance". [50 - 59): "Limited performance". [0 - 49]: "Week performance". If the user enters a mark that is not between 0 and 100, the program outputs the following text: "This is not a valid mark" Hint: use nested if-else statement. Program 2 (5 Marks) Note: Your submission should be a cpp file. Write a C++ program that prompts the user to enter an amount of dollars, and outputs the maximum number of dollars, the maximum of Quarters (25), the maximum number of Dimes (10), the maximum number of Nickels (5), and the rest of Pennies (16). Example: If the user enters the number 32.65, the output should be: Enter the amount: 32.56 Max number of Dollars: 32 Max number of Quarters: 2 Max number of Dimes: 0 Max number of Nickels: 1 Max number of Pennies: 1 Hint: use the remainder

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!