reate a Raptor program that determines the grade for an individual student based on his or her erage in the class. The program will accept the students grades on Midterm and Final. PUT: 1. First, prompt the user to enter a midterm grade. 2. Second, prompt the user to enter a final grade. fter the user has entered both grades, calculate the student's average. The average is a “weighted erage based on the following formula: ROCESSING: average = midterm grade * 40% + final grade * 60%. UTPUT: ext display the student’s average. ased on the average you just calculated, you need to determine if the student “"passes" or "fails" t urse. a student has an average greater than 59, he or she "passes" the course but if the average is less an 60, he or he/she “fails" the course. In either case, display a message stating whether the udent passes or fails the course.
reate a Raptor program that determines the grade for an individual student based on his or her erage in the class. The program will accept the students grades on Midterm and Final. PUT: 1. First, prompt the user to enter a midterm grade. 2. Second, prompt the user to enter a final grade. fter the user has entered both grades, calculate the student's average. The average is a “weighted erage based on the following formula: ROCESSING: average = midterm grade * 40% + final grade * 60%. UTPUT: ext display the student’s average. ased on the average you just calculated, you need to determine if the student “"passes" or "fails" t urse. a student has an average greater than 59, he or she "passes" the course but if the average is less an 60, he or he/she “fails" the course. In either case, display a message stating whether the udent passes or fails the course.
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter1: Fundamentals Of C++ Programming
Section1.3: Preliminary Three: Software Development
Problem 7E: (Statistics) This is the formula for the standard normal deviate, z, used in statistical...
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.
This is a popular solution!
Trending now
This is a popular solution!
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
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning