Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please enter your three test scores separated by space: 81 79 94 Here is your score report: Highest score: test #3 Average score: 84.6? Number

image text in transcribed
Please enter your three test scores separated by space: 81 79 94 Here is your score report: Highest score: test #3 Average score: 84.6? Number of above average scores: 1 Lowest letter grade: C+ We assume the scores are of type integer. You must also pay attention to formatting the output. The cut for the letter grade is based on the "universal" scale: 95 is A+, 90 is A- etc. Option 3. Prompt the user for a letter in the alphabet. Please enter a letter in the alphabet: V You must then display the following report on the user's input: Here is what we know about your input: V is a consonant. v is also uppercase letter. There is/are 4 letterfs in the alphabet after V. Important note: for the sake of brevity, we can safely assume that the user enters a letter in the alphabet. You do not need to validate that. You must use a switch statement to decide whether the letter is a vowel or a consonant. Hint: Try and build your report using variables instead of repeating the report lines in your program. For instance have a string variable and assign "vowel" or "consonant" in them based on the proper condition and simply display that variable as part of the second line of this report. Do the same for uppercase or lowercase. Option 4. Maybe the user changes their mind and do not want to use our program. Having the Exit option lets the user end our program shortly after running it! When we cover loops. we can make a much better use out of this option

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

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions