Assignment 10

Due Monday

Declare a struct, call it Student, with 3 members: SSN of type string, Grade of type float, and Letter_Grade of type string. Then declare a one-dimensional array of type Student and of maximum size 100. Then ask the user to enter the actual size of the array, call it N, and then the elements of the array. Then sort the array in descending order with respect to Grade, and then display the array. For example, if the user enters the following array:

333-44-5555 80.7 B

444-55-6666 97.3 A

555-66-7777 65 D+

then after the sorting, the array should be

444-55-6666 97.3 A

333-44-5555 80.7 B

555-66-7777 65 D+