Raphael Problem Elementary School Children Pre Finals Exam Class Naturally Exams Collected Q37260788

  1. Raphael has a problem with his elementary school children. Theyhad a pre-finals exam in class, but naturally their exams werecollected in an unsorted order. Raphael graded the exams, andrecorded their grades in a file called scores.txt. Thetext file consists of several lines, each line of the form<student id> <lastname><firstname> <score(out of100)>. His objective is to create a new file calledscores_sorted.txt, which would contain the scores obtainedby the students sorted by their StudentID.

    Help Raphael write a C++ program that doesthis. You may use an array of structures to store the data of thestudents, and then sort the array according to the

    OR
    OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.