C++ for Engineers and Scientists
C++ for Engineers and Scientists
4th Edition
ISBN: 9781133187844
Author: Bronson, Gary J.
Publisher: Course Technology Ptr
bartleby

Videos

Textbook Question
Book Icon
Chapter 8, Problem 3PP

(Data processing) Write a C++ program that allows the user to enter the following information from the keyboard for each student in a class (up to 20 students):

Name Exam 1 Grade Exam 2 Grade Homework Grade Final Exam Grade

For each student, your program should first calculate a final grade, using this formula:

F i n a l   G r a d e   =   0.20   ×   E x a m   1   +   0.20   ×   E x a m   2   +   0.35   ×   H o m e w o r k   +   0.25   ×   F i n a l   E x a m Then assign a letter grade on the basis of 90 100   =   A ,   80 89   =   B ,   70 79   =   C ,   60 69   =   D , and less than 60   =   F . All the information, including the final grade and the letter grade, should then be displayed and written to a file.

Blurred answer
Students have asked these similar questions
NB: USE IF ELSE STATEMENTS FOR THIS CODING IN C++ • Calculate each student's grade - 10 students in a class; each student has taken five tests; each test is worth 100 points • Design algorithms to: - Calculate the grade for each student and class average - Find the average test score - Determine the grade • Data: students' names; test scores
(Python 3) LULU Shopping wants to calculate the Commission given their employee. The program should ask the user to the number of items, and the unit amount.  The sales bill is computed by multiplying the number of items and the unit amount A commission is computed based on the Sales as shown in the table below: sales bill               commission 1 – 150                      10% of the sales bill More than 150      18% of the sales bill Display the  Sales bill and the commission.
5. (Algebra: solve 2 X 2 linear equations) You can use Cramer's rule to solve the following 2 X 2 system of linear equation: ax + by = e cx + dy = f ● x = ed - bf bc ad y = af - ec ad bc - Write a program that prompts the user to enter a, b, c, d, e, and f and display the result. If ad- bc is 0, report that The equation has no solution. Enter a, b, c, d, e, f: 9.0, 4.0, 3.0, -5.0, -6.0, -21.0 Enter x is -2.0 and y is 3.0 Enter a, b, c, d, e, f: 1.0, 2.0, 2.0, 4.0, 4.0, 5.0 Enter The equation has no solution
Knowledge Booster
Background pattern image
Computer Science
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
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Boolean Algebra - Digital Logic and Logic Families - Industrial Electronics; Author: Ekeeda;https://www.youtube.com/watch?v=u7XnJos-_Hs;License: Standard YouTube License, CC-BY
Boolean Algebra 1 – The Laws of Boolean Algebra; Author: Computer Science;https://www.youtube.com/watch?v=EPJf4owqwdA;License: Standard Youtube License