Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, Molly05
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is 50e0bf08e5b671@ualwgypg91wa5wl. uzo9kbud3qjwddygd5.vng -
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, hargunk329
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
image
Computers and Technology, 23.06.2019 18:30, DSUDLER5555
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
image
Computers and Technology, 23.06.2019 22:50, christingle2004
What is an rss reader used for? for creating a user account on a social new site
Answers: 2
Do you know the correct answer?
Using c language Assume that a file contains students' ids, full names, and their scores (Assignmen...

Questions in other subjects:

Konu
Chemistry, 20.09.2020 07:01
Konu
Biology, 20.09.2020 07:01
Konu
Mathematics, 20.09.2020 07:01
Konu
Chemistry, 20.09.2020 07:01