Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ please make code clear and easy to follow use #include #include #include PLEASE DO NOT HARDCODE ex : int numStudents [20]; please help find

c++
please make code clear and easy to follow
use #include
#include
#include
PLEASE DO NOT HARDCODE ex : int numStudents [20];
please help find a different way
image text in transcribed
12. Course Grade Write a program that uses a structure to store the following data: Member Name Description Name Student name Idnum Student ID number Tests Pointer to an array of test scores Average Average test score Grade Course grade 662 Chapter 11 Structured Data The program should keep a list of test scores for a group of students. It should ask the user how many test scores there are to be and how many students there are. It should then dynamically allocate an array of structures. Each structure's Tosts member should point to a dynamically allocated array that will hold the test scores. After the arrays have been dynamically allocated, the program should ask for the ID number and all the test scores for cach student. The average test score should be cal- culated and stored in the average member of each structure. The course grade should be computed on the basis of the following grading scale! Average Test Grade Course Grade 91-100 81-90 B 71-80 61-70 D 60 or below F The course grade should then be stored in the Grade member of each structure. Once all this data is calculated, a table should be displayed on the screen listing each stu- dent's name, ID number, average test score, and course grade. Input Validation: Be sure all the data for each student is entered. Do not accept nega- tive numbers for any test 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

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

9 Briefly describe how project budgets can be monitored.

Answered: 1 week ago

Question

Distinguish between recruitment sources and recruitment methods.

Answered: 1 week ago