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...
icon
Related questions
Question
Create a Raptor program that determines the grade for an individual student based on his or her
average in the class. The program will accept the students grades on Midterm and Final.
INPUT:
1. First, prompt the user to enter a midterm grade.
2. Second, prompt the user to enter a final grade.
After the user has entered both grades, calculate the student's average. The average is a "weighted"
average based on the following formula:
PROCESSING:
average = midterm grade * 40% + final grade * 60%.
OUTPUT:
Next display the student's average.
Based on the average you just calculated, you need to determine if the student “passes" or "fails" the
course.
If a student has an average greater than 59, he or she “passes" the course but if the average is less
than 60, he or he/she "fails" the course. In either case, display a message stating whether the
student passes or fails the course.
Transcribed Image Text:Create a Raptor program that determines the grade for an individual student based on his or her average in the class. The program will accept the students grades on Midterm and Final. INPUT: 1. First, prompt the user to enter a midterm grade. 2. Second, prompt the user to enter a final grade. After the user has entered both grades, calculate the student's average. The average is a "weighted" average based on the following formula: PROCESSING: average = midterm grade * 40% + final grade * 60%. OUTPUT: Next display the student's average. Based on the average you just calculated, you need to determine if the student “passes" or "fails" the course. If a student has an average greater than 59, he or she “passes" the course but if the average is less than 60, he or he/she "fails" the course. In either case, display a message stating whether the student passes or fails the course.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Function Arguments
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++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
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