Question
(Must be in English and C++ program for beginners) Write a program that reads students name followed by their numerical scores. The program should output
(Must be in English and C++ program for beginners)
Write a program that reads students name followed by their numerical scores. The program should output the numerical score and the relevant grade. It should also find and print the highest score and the name of the students having the highest score. Student data should be stored in a struct variable of type studentType, which has four compnents: studentFName and studentLName of type string, testScore of type int(b/w 0 and 100) and grade of type char. Suppose that the class has 20 students. Use an array of 20 components of type student type. Your program must contain at least the following functions: A function to read the students data into the array. A function to the relevant Grade to each student (use your own judgment to assign grades A, C, D, or F based upon the students scores). A function find the highest score. A function to print the names of the students having the highest score
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started