The document contains instructions to create a file called "marks" with records of 10 students including their serial number, name, marks from two tests, and total marks. It then asks 6 questions: 1) Display the contents in descending order of total marks. 2) Display only name and total marks. 3) Display in ascending order of total marks. 4) Display top 5 students. 5) Display top 5 except the top student. 6) Display marks of student in 3rd position.
1 of 7
Download to read offline
More Related Content
Linux
1. Q. Create a file name marks,and enter records of
10 students the record is like .
S.no student name 1st test 2nd test totalmarks
1. harish kumawat 10 20 30
2. 1. Display the contains of file in
descending order of total marks?