Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Develop clear policy statements.

Answered: 1 week ago

Question

=+j on to staff their operations in the global marketplace.

Answered: 1 week ago