Question Description
I’m studying and need help with a Programming question to help me learn.
First create a flow chart of your program. Then uou are required to create a Visual C++ program that asks the user for input from the keyboard and output the following information to the screen.
· Student ID
· First name
· Last name
· Subject name
· An array of 4 test marks
Create a program that will:
a. Define an array/pointer of structure to store the student information
b. Create a function that ask for users input to student information
c. write a function that will calculate the average grade per student
d. Use the average number to display a mark (Using the table below)
e. write a function that will calculate the average grade for all students
Average grade |
Mark |
< 50 |
Fail |
50 – 64 |
Pass |
65 – 74 |
Credit |
75 – 84 |
Distinction |
85 – 100 |
High Distinction |
The user can press “q” to quit instead of entering new student information (or “y” to continue). Once the user has selected to quit display all user information and the average grade for all students.
