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
show work
show work on paper
show work on paper
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,
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
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