Computer Architecture > QUESTIONS & ANSWERS > Questions and Answers > TRANSPORT 1-221Struct C++EPOKA UNIVERSITY Homework STRUCT (All)
TRANSPORT 1-221Struct C++EPOKA UNIVERSITY Homework STRUCT 1. Write a program that reads one student and his grades of 5 exams course. Struct student should be stored FName, LName, gender... , of type string, grade and average. This program should find and print the average of grades for the student. 2. Write a program that reads students’ names followed by their test scores.The program should output each student’s name followed by the test scores and the relevant grade. It should also find and print the highest test score and the name of the students having the highest test score. Student data should be stored in a struct variable of type student,which has four components: studentFName and studentLName of typestring, testScore of type int (testScore is between 0 and 100). Suppose that the class has 20 students. Use an array of 20 components of type student. } 3. Write a program that reads students’ names followed by their test scores. The program should output each student’s name followed by the test scores , gender and the relevant grade. It should also find and print the gender which has the highest average grade. Suppose that the class has 20 students. Use an array of 20 components of type student and 5 exams for each student. [Show More]
Last updated: 2 years ago
Preview 1 out of 5 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Feb 01, 2021
Number of pages
5
Written in
This document has been written for:
Uploaded
Feb 01, 2021
Downloads
0
Views
115
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·