Programming Homework Help

Programming Homework Help. Multilinked list program

Write a C program to read name and total marks of students in a batch.

The program must sort student names in alphabetical order. The program must also sort student list based on descending order of marks.

You must use multi-linked lists with various links following ascending ordered marks and alphabetically ordered records.

If two students have same marks display them alphabetically. If two students have the same name display the details of the student with highest marks first.

Note: Marks cannot be negative. The name of a student only consists of capital and small English alphabets.

Sample Input/Output

Input

James

56

Paul

39

Augustine

12

William

85

Kishan

35

Rithi Sing

85

Kishan

55

-999

Output

Descending order of Marks: Rithi Sing 85, William 85, James 56, Kishan 55, Paul 39, Kishan 35, Augustine 12,

Alphabetical Order: Augustine 12, James 56, Kishan 55, Kishan 35, Paul 39, William 85, Rithi Sing 85,

Programming Homework Help

 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"