Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Chapter 3 Write a program that will allow the user to run two different apps. You will display a menu list of the two apps.

Chapter 3
Write a program that will allow the user to run two different apps. You will display a menu list of the two apps. The user can type c or C to run the calculator app or the user can type g or G for the grade book app.
If the user selects cC for the calculator app, the app will have two options. If the user types the number 1, the program will ask for two numbers and add them. If the user types the number 2, the program will ask for two numbers then multiply them.
If the user selects gG for the grade book app, the app will ask for a letter grade and display a message based on that letter grade (use sample 3-06 posted in Blackboard). The program should have an option to restart if the user types in r/R. Use if-else-if, switch case to complete this and add comments.
This program has two built in apps
Type C or c to run the calculator app
Type G or g for the grade book app
g
Enter your midterm letter grade
a
Excellent. You need not take the final.
Do you want to run this program again?
Enter r/R to restart
r
This program has two built in apps
Type C or c to run the calculator app
Type G or g for the grade book app
c
Welcome to the calculator app
Make a selection from the following
Choose 1 to add two numbers
Choose 2 to multiply two numbers
2
Enter two numbers to multiply
Enter the first number
5
Enter the second number
6
The multiplication of the two numbers is 30
Do you want to run this program again?
Enter rR to restart
In C++
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

1. What is your religious upbringing?

Answered: 1 week ago