------------------ MENU ------------------ 1 - CALCULATION OF STUDENT ACHIEVEMENT GRADE 2 - SHOW STUDENT STATUSES -------------------------------------------- Please make a selection: _ Operation of the menu options of the program in the form of a menu above should be done with SWITCH - CASE. The screen is cleared each time a menu action is selected. When another option is selected, it gives an error message and when the enter button is pressed, the screen is cleared and returns to the menu. When 1 is selected: Enter the name, surname, course, visa (40%), homework (10%), final grade (50%) of the student to be examined on the keyboard. The exam grades entered must be in the range of 0 to 100. Otherwise, he asks for that exam grade again. Program; --- Calculates the student's average success, --- It is determined whether the student has passed (60 or more passes; below remains), --- The student's success letter grade is calculated (0 - 49: FF, 50 - 59: DD, 60 - 70: CC, 71 - 80: BC, 81 - 90: BB, 91 - 94: BA, 95 - 100: AA ) Accordingly, record the student's name, surname, course, average, pass / fail and letter grade in a way to record the data of each student in a single line, in the info.txt file in the ogr folder in the project folder. The recorded information is also printed on the screen properly one after the other. When 2 is selected: Question is asked. “PRINT INFORMATION? [Y / N]: ”in the form. Execution of options is case sensitive. If e / E is selected, it prints all the recorded information in the info.txt file on the screen. After each menu operation, it returns to the main menu.
------------------ MENU ------------------
1 - CALCULATION OF STUDENT ACHIEVEMENT GRADE
2 - SHOW STUDENT STATUSES
--------------------------------------------
Please make a selection: _ Operation of the menu options of the program in the form of a menu above should be done with SWITCH - CASE. The screen is cleared each time a menu action is selected. When another option is selected, it gives an error message and when the enter button is pressed, the screen is cleared and returns to the menu.
When 1 is selected: Enter the name, surname, course, visa (40%), homework (10%), final grade (50%) of the student to be examined on the keyboard.
The exam grades entered must be in the range of 0 to 100. Otherwise, he asks for that exam grade again.
Program; --- Calculates the student's average success, --- It is determined whether the student has passed (60 or more passes; below remains), --- The student's success letter grade is calculated (0 - 49: FF, 50 - 59: DD, 60 - 70: CC, 71 - 80: BC, 81 - 90: BB, 91 - 94: BA, 95 - 100: AA ) Accordingly, record the student's name, surname, course, average, pass / fail and letter grade in a way to record the data of each student in a single line, in the info.txt file in the ogr folder in the project folder. The recorded information is also printed on the screen properly one after the other.
When 2 is selected: Question is asked. “PRINT INFORMATION? [Y / N]: ”in the form. Execution of options is case sensitive. If e / E is selected, it prints all the recorded information in the info.txt file on the screen. After each menu operation, it returns to the main menu.
İn C program language.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images