Question: C++ program Multiple If-Else If-Else Sample Output: Welcome to the point calculator! Please choose the play you just made from the following: 1. Touchdown 2.
C++ program

Multiple If-Else If-Else Sample Output: Welcome to the point calculator! Please choose the play you just made from the following: 1. Touchdown 2. Two point conversion 3. Field goal 4. Extra point 5. Safety Please enter the number corresponding to you choice: A football team starts with the score of zero. Write a program that uses a menu to ask the user what kind of play was made in a football game from the following options: touchdown, two point conversion, field goal, extra point, or safety. If the team scored a touchdown, add 6 points to their score. If the team scored a two point conversion, add 2 points to their score. If the team scored a field goal, add 3 points to their score. If the team scored an extra point, add 1 point to their score. If they scored a safety add 2 points to their score. Only allow one of the above options. If the user selects anything else print a "invalid input" message. Your score is 6! Or Welcome to the point calculator! Please choose the play you just made from the following: 1. Touchdown 2. Two point conversion 3. Field goal 4. Extra point 5. Safety please enter the number corresponding to you choice: 37 Invalid option. Your score was not changed. Print the team's score and then end the program. Your score is O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
