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
help with this please
For the control system plot root Locus and find the D gain of stability? by Matlab Ris Kp (5+3) S+5 (s+1) +CUST s(S+2) (565+18) 5-1 5²+35+4
CIS 115 Introduction to C++ May I please have a written review expressing my gratitude for a tutor that has given me guidance throughout the computer programming course? Thank you so much!
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