PROBLEM: Create a program to generate the seat plan/no of a certain class/activity. Conditions: ● Display the list of engineering programs with corresponding code between 1-10. • The user will be asked to choose a code. • Followed by the user will be asked to enter the number of students. • Lastly, the user will be asked to enter each name of the students using the format LASTNAME_FIRSTNAME. o Just use single-name/word format for SN and FN • Use the concept of an array to display the names of the students in alphabetical order with corresponding seat numbers.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
PROBLEM: Create a program to generate the seat plan/no of a certain class/activity.
Conditions:
• Display the list of engineering programs with corresponding code between 1-10.
• The user will be asked to choose a code.
Followed by the user will be asked to enter the number of students.
• Lastly, the user will be asked to enter each name of the students using the format LASTNAME_FIRSTNAME.
o Just use single-name/word format for SN and FN
• Use the concept of an array to display the names of the students in alphabetical order with corresponding seat numbers.
SPECIFICATIONS:
- You may only use the codes that we studied under our lectures
All lines of codes should have a comment.
- Save your cpp file as Surname - FE (Example: Pangaliman - FE.cpp)
Test Case #1:
List of Engineering Programs:
[1] CE
[2] CHE
[3] EE
[4] ECE
[5] IE
[6] ME
Please Enter the Program Code: 6
Please Enter the Number of Students: 4
Please Enter the Names of the Student (use the format: LN_FN):
Cruz_John
Aquino_Maria
Delgado_Anna
Balagtas_Peter
Below is your Seat Plan:
ME Seat No. 1 - Aquino_Maria
ME Seat No. 2 - Balagtas_Peter
ME Seat No. 3 - Cruz_John
ME Seat No. 4 - Delgado_Anna
Transcribed Image Text:PROBLEM: Create a program to generate the seat plan/no of a certain class/activity. Conditions: • Display the list of engineering programs with corresponding code between 1-10. • The user will be asked to choose a code. Followed by the user will be asked to enter the number of students. • Lastly, the user will be asked to enter each name of the students using the format LASTNAME_FIRSTNAME. o Just use single-name/word format for SN and FN • Use the concept of an array to display the names of the students in alphabetical order with corresponding seat numbers. SPECIFICATIONS: - You may only use the codes that we studied under our lectures All lines of codes should have a comment. - Save your cpp file as Surname - FE (Example: Pangaliman - FE.cpp) Test Case #1: List of Engineering Programs: [1] CE [2] CHE [3] EE [4] ECE [5] IE [6] ME Please Enter the Program Code: 6 Please Enter the Number of Students: 4 Please Enter the Names of the Student (use the format: LN_FN): Cruz_John Aquino_Maria Delgado_Anna Balagtas_Peter Below is your Seat Plan: ME Seat No. 1 - Aquino_Maria ME Seat No. 2 - Balagtas_Peter ME Seat No. 3 - Cruz_John ME Seat No. 4 - Delgado_Anna
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY