subject

Your assignment is to write a class averaging program that outputs a summary of classes and students, given input data in a specific format (more on that in a bit). For a high-level view, look at the sample program execution below. Your program will read from an input file (courseData. txt) a number of data items, stored in the file in the following order:(1) Global data is on the first line, as this applies to all classes. This first line holds the weights to use for all classes, in this order: program weight, midterm weight, and final exam weight.(2) Every other line in the file is specific to a class, and so the next line starts with a course identifier(161, 162, or 263, and this is an int).(3) After the course identifier ,a set of lines belonging to that course are listed, each with a student ID (four digits, such as 1234),an unweighted program score, an unweighted midterm score, and an unweighted final score.(4) Reaching a 0 indicates the end of input for a specific class ,or the end of file if all class data has been consumed.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
question
Computers and Technology, 23.06.2019 23:00
Computer programming is one type of what career
Answers: 1
You know the right answer?
Your assignment is to write a class averaging program that outputs a summary of classes and students...
Questions
question
Physics, 23.05.2021 08:30
question
Mathematics, 23.05.2021 08:30
Questions on the website: 13722359