1. Write a menu driven C program to read the information of n number of students from user and store them in a file. If the file previously exits, add the information of n students otherwise create a...


Please write comments in detail to show how the code functions.


1. Write a menu driven C program to read the information of n number of students from<br>user and store them in a file. If the file previously exits, add the information of n<br>students otherwise create a new file. Remember to open and close read and write files.<br>a) Each student data is a structure with the following information:<br>Student ID number, last name, first name, course name1, grade1, course name2,<br>grade2.<br>b) Display the student information in a list form.<br>c) Calculate the class average for each course and display it at the end of your report.<br>d) The report should be as shown below:<br>STUDENT<br>LAST<br>FIRST<br>COMPUTATIONAL<br>EMBEDDED<br>ID:<br>NAME<br>NAME<br>LOGIC<br>PROGRAMMING<br>AVERAGE<br>66.7<br>79.3<br>2. Draw a flowchart for the above problem.<br>

Extracted text: 1. Write a menu driven C program to read the information of n number of students from user and store them in a file. If the file previously exits, add the information of n students otherwise create a new file. Remember to open and close read and write files. a) Each student data is a structure with the following information: Student ID number, last name, first name, course name1, grade1, course name2, grade2. b) Display the student information in a list form. c) Calculate the class average for each course and display it at the end of your report. d) The report should be as shown below: STUDENT LAST FIRST COMPUTATIONAL EMBEDDED ID: NAME NAME LOGIC PROGRAMMING AVERAGE 66.7 79.3 2. Draw a flowchart for the above problem.

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here