Create a C++ program that makes use of three arrays; name, mark, grade. The program should accept the names and marks of a number of students to be entered by the user. Use the number of students as the size of the arrays. Grades are computed and stored in the grade array using the criteria: 100 – 60 = A; 59 – 40 = B; below 40 = C. The program should continuously request a user who enters a mark below 0 or above 100 to enter a mark in the range 0 – 100. Finally, the program should display the list of students in this format:  Name  |  Mark   |   Grade

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.2: Array Initialization
Problem 4E: (Electrical eng.) Write a program that stores the following resistance values in an array named...
icon
Related questions
Question

Create a C++ program that makes use of three arrays; name, mark, grade. The program should accept the names and marks of a number of students to be entered by the user. Use the number of students as the size of the arrays.
Grades are computed and stored in the grade array using the criteria:
100 – 60 = A;
59 – 40 = B;
below 40 = C.
The program should continuously request a user who enters a mark below 0 or above 100 to enter a mark in the range 0 – 100. Finally, the program should display the list of students in this format:  Name  |  Mark   |   Grade

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Program on Numbers
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