Answered step by step
Verified Expert Solution
Question
1 Approved Answer
main function must be at first Sultan Qaboos University Department of Computer Science COMP2102 Problem Solving and Programming, Spring 2108 Homework Assignment 4 Due: Tuesday
main function must be at first
Sultan Qaboos University Department of Computer Science COMP2102 Problem Solving and Programming, Spring 2108 Homework Assignment 4 Due: Tuesday 01 May 2018, 11:55pm Submission: Name your program file HW4_ID.cpp, where ID is your student ID and submit it on Moodle by the above due date/time Write a C++ program that starts by reading student information from an input file student.txt organized as follows: each student has four fields of information on one line of the input file: name (at most 25 characters, terminated by a character), ID integer), cohort (integer), and three scores (each score is an integer between 0 and 100). The program must store this information in a sorted linked list of student records (structures). The list must be kept always sorted in increasing order of the ID. The program must calculate for each student a letter grade (and store it in the student record) based on the average of his/her 3 scores according to the following: Average of the 3 Scores Letter Grade 290 80 andStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started