subject

Using c language Assume that a file contains students' ids, full names, and their scores (Assignments grade, quizzes grade,
Midterm grade, Practical exam grade, and final exam grade) (each column is separated by S). You are
required to write a C program to do the following:
• Using the concept of parallel arrays create records for students with above attributes (id, full name,
score).(you are not allowed to use structure)
• Ask the user to enter the input file name and read it (suppose that, there are different files you
could read data from). Read the data from the file and store it in record for students, which has
IDs, Names, and Scores. The IDs should be declared as integers, the Names as a two-dimensional
array of characters and the Scores as doubles. Assume that the maximum length of full name of
any student is 50 characters. Also, you may assume that there will be No more than a 1000 student
records in the file.
Calculate the final grade as the flowing:
Grade- (Assignment)*15%+(Quizzes) *15%+(Midterm exam) *25%+(Practical Exam)
*10%+(Final)*35% Assuming that data in files are arranged in same order of the above equation with
respect to grades
Hint: read form file, calculate the final score, and store it in the record before going to the next step.
Display the following menu to the user and read the entered choice:
1) Sort data in ascending order according to students' IDs and then display it.
2) Sort data in ascending order according to students' names and then display it.
3) Sort data in descending order according to students' scores and then display it.
Note: After running any of the above menus items, ask the user if he/she would like to save the current result, if so,
prompt user to enter file name.
Activate Window
4) Ask the user to enter a student ID and display his score
5) Ask the user to enter a student name and display his score
Go to Settings to activ
6) Exit the program

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
What is a society that has moved to the internet rather than relying on physical media called
Answers: 2
question
Computers and Technology, 22.06.2019 10:50
A911 dispatcher is the sole sender of messages to all police officers. while on patrol, officers communicate with the dispatcher who, in turn, relays messages to other officers. the officers do not communicate directly with one another. this illustrates a network.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
You know the right answer?
Using c language Assume that a file contains students' ids, full names, and their scores (Assignmen...
Questions
question
Mathematics, 09.09.2021 02:20
question
Mathematics, 09.09.2021 02:20
question
Mathematics, 09.09.2021 02:20
question
Mathematics, 09.09.2021 02:20
question
Social Studies, 09.09.2021 02:20
question
Biology, 09.09.2021 02:20