Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create c++ to read the data and include these functions int menu(); int readFile(ifstream &infile, struct student s[]); int displayStudents(struct student s[],int size); double calculateAverage(struct

create c++ to read the data and include these functions int menu(); int readFile(ifstream &infile, struct student s[]); int displayStudents(struct student s[],int size);

double calculateAverage(struct student s[], int size,sting ); use this structure struct student { string name; int no_of_units; int mark[5]; }

1 to display data 2 to find average mark -1 to exit.

average mark is for signle student. It need seach the correct student name then calculate the average mark for that student.

data: Ricky 2 55 70 Alex 4 96 67 88 98 Peter 3 45 37 61 Joseph 5 98 56 100 87 77 Tyler 4 65 80 79 85

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_2

Step: 3

blur-text-image_3

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

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

Students also viewed these Databases questions

Question

14-7 Why is project size a major factor in project risk?

Answered: 1 week ago

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago