PROBLEM 5: Using if-else /Nested if-else if structure, write a complete program a.) that will determine which among the 3 numbers entered from the keyboard is largest and which is the smallest. b.) that will also determine and print the final grade equivalent of the average g entered from the keyboard. The equivalent grade will be based on the Tab Transmutation of Grades shown below: Final Grade Average Below 50 5.0 Sample Input/Output: 50 to 60 3.0 Enter 3 numbers: 5 8 3 Largest = 8 Enter the Average Grade: 75 Final Grade = 2.0 61 to 80 2.0 Smallest = 3 81 to 90 1.5 91 to 100 1.0 (NNoto filo

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question
PROBLEM 5: Using if-else /Nested if-else if structure, write a complete program
a.) that will determine which among the 3 numbers entered from the keyboard is the
largest and which is the smallest.
b.) that will also determine and print the final grade equivalent of the average grade
entered from the keyboard. The equivalent grade will be based on the Table of
Transmutation of Grades shown below:
Average
Final Grade
Below 50
5.0
Sample Input/Output:
50 to 60
3.0
Enter 3 numbers: 5 8 3
Largest = 8
Enter the Average Grade: 75
61 to 80
2.0
Smallest = 3
81 to 90
1.5
91 to 100
1.0
Final Grade = 2.0
(Note : Use only one program file )
Transcribed Image Text:PROBLEM 5: Using if-else /Nested if-else if structure, write a complete program a.) that will determine which among the 3 numbers entered from the keyboard is the largest and which is the smallest. b.) that will also determine and print the final grade equivalent of the average grade entered from the keyboard. The equivalent grade will be based on the Table of Transmutation of Grades shown below: Average Final Grade Below 50 5.0 Sample Input/Output: 50 to 60 3.0 Enter 3 numbers: 5 8 3 Largest = 8 Enter the Average Grade: 75 61 to 80 2.0 Smallest = 3 81 to 90 1.5 91 to 100 1.0 Final Grade = 2.0 (Note : Use only one program file )
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Concept of Parenthesis
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning