Question: The overall grade in a course is determined from the grades of 3 midterms and a final exam, using the following scheme: Midterms: Midterms are graded on a scale from 0 to 20. The total of the 3 quizzes constitutes 50% of the course grade. Final exam: The final exams is graded on a scale from 0 to 100. The final exam constitutes 50% of the course grade. Write a computer program in a script file that determines the course grade for a student. The program first asks the user to enter the 3 midterms grades (in a w the grade of the final. Then the program calculates a numerical course grade (a number between 0 and 100). The course grade is rounded to one decimal points. Sample Output: Please enter Midterm 1 grade: 30 Input should be between 0 and 20, Please enter Midterm 1 grade: 20 Please enter Midterm 2 grade: 15 Please enter Midterm 3 grade: 17.8 Please enter final exam grade: 80 The course grade is 66.4
Question: The overall grade in a course is determined from the grades of 3 midterms and a final exam, using the following scheme: Midterms: Midterms are graded on a scale from 0 to 20. The total of the 3 quizzes constitutes 50% of the course grade. Final exam: The final exams is graded on a scale from 0 to 100. The final exam constitutes 50% of the course grade. Write a computer program in a script file that determines the course grade for a student. The program first asks the user to enter the 3 midterms grades (in a w the grade of the final. Then the program calculates a numerical course grade (a number between 0 and 100). The course grade is rounded to one decimal points. Sample Output: Please enter Midterm 1 grade: 30 Input should be between 0 and 20, Please enter Midterm 1 grade: 20 Please enter Midterm 2 grade: 15 Please enter Midterm 3 grade: 17.8 Please enter final exam grade: 80 The course grade is 66.4
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section: Chapter Questions
Problem 3PP: (Data processing) Write a C++ program that allows the user to enter the following information from...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images
Knowledge Booster
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.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr