Given a problem and correct (shuffled) program, re-arrange the shuffled code segments in the correct order. ------------------------------------------------------------------ A program to display the details of all the students stored in this map in sorted order based on Id. Input and Output Format: Refer sample input and output for formatting specifications. All text in bold corresponds to input and the rest corresponds to output. Sample Input and Output: Enter the number of students 5 Enter the details of the student 1 ECE055 Vishnu vishnu@gmail.com ECE Enter the details of the student 2 CSE009 Vanitha vani@gmail.com CSE Enter the details of the student 3 ECE005 Dinesh dinesh@gmail.com ECE Enter the details of the student 4 IT003 Saranya saran@gmail.com IT Enter the details of the student 5 MECH065 Prabhu prabhu@gmail.com MECH Student Details Vanitha vani@gmail.com CSE Dinesh dinesh@gmail.com ECE Vishnu vishnu@gmail.com ECE Saranya saran@gmail.com IT Prabhu prabhu@gmail.com MECH ------SHUFFLED PROGRAM (MAIN.CPP AND STUDENT.CPP ) PROVIDE IN ATTACHMENT KINDLY SEE AND DON'T ADD ANY EXTRA CODE JUST RE-ARRANGE -------
Given a problem and correct (shuffled) program, re-arrange the shuffled code segments in the correct order.
A program to display the details of all the students stored in this map in sorted order based on Id.
Input and Output Format:
Refer sample input and output for formatting specifications.
All text in bold corresponds to input and the rest corresponds to output.
Sample Input and Output:
Enter the number of students
5
Enter the details of the student 1
ECE055
Vishnu
vishnu@gmail.com
ECE
Enter the details of the student 2
CSE009
Vanitha
vani@gmail.com
CSE
Enter the details of the student 3
ECE005
Dinesh
dinesh@gmail.com
ECE
Enter the details of the student 4
IT003
Saranya
saran@gmail.com
IT
Enter the details of the student 5
MECH065
Prabhu
prabhu@gmail.com
MECH
Student Details
Vanitha vani@gmail.com CSE
Dinesh dinesh@gmail.com ECE
Vishnu vishnu@gmail.com ECE
Saranya saran@gmail.com IT
Prabhu prabhu@gmail.com MECH
------SHUFFLED PROGRAM (MAIN.CPP AND STUDENT.CPP ) PROVIDE IN ATTACHMENT KINDLY SEE AND DON'T ADD ANY EXTRA CODE JUST RE-ARRANGE --------



Step by step
Solved in 2 steps with 1 images









