USING C++ PROGRAMMING   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. 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. 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 Test Case #2: List of Engineering Programs: [1] CE [2] CHE [3] EE [4] ECE [5] IE [6] ME Please Enter the Program Code: 4 Please Enter the Number of Students: 5 Please Enter the Names of the Student (use the format: LN_FN): Marcos_Bongbong Robredo_Leni Moreno_Isko Lacson_Ping Pacquiao_Manny Below is your Seat Plan: ECE Seat No. 1- Lacson_Ping ECE Seat No. 2 - Marcos_Bongbong ECE Seat No. 3 - Moreno_Isko ECE Seat No. 4 - Pacquiao_Manny ECE Seat No. 5 - Robredo_Leni Test Case #3: List of Engineering Programs [1] CE [2] CHE [3] EE [4] ECE [5] IE [6] ME Please Enter the Program Code: 7 INVALID CODE! Please Try Again! Test Case #4: List of Engineering Programs [1] CE [2] CHE [3] EE [4] ECE [5] IE [6] ME Please Enter the Program Code: 5 Please Enter the Number of Students: A INVALID CODE! Please Try Again!

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

USING C++ PROGRAMMING

 

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. 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.

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

Test Case #2: List of Engineering Programs: [1] CE [2] CHE [3] EE [4] ECE [5] IE [6] ME Please Enter the Program Code: 4 Please Enter the Number of Students: 5 Please Enter the Names of the Student (use the format: LN_FN): Marcos_Bongbong Robredo_Leni Moreno_Isko Lacson_Ping Pacquiao_Manny Below is your Seat Plan: ECE Seat No. 1- Lacson_Ping ECE Seat No. 2 - Marcos_Bongbong ECE Seat No. 3 - Moreno_Isko ECE Seat No. 4 - Pacquiao_Manny ECE Seat No. 5 - Robredo_Leni

Test Case #3: List of Engineering Programs [1] CE [2] CHE [3] EE [4] ECE [5] IE [6] ME Please Enter the Program Code: 7 INVALID CODE! Please Try Again!

Test Case #4: List of Engineering Programs [1] CE [2] CHE [3] EE [4] ECE [5] IE [6] ME Please Enter the Program Code: 5 Please Enter the Number of Students: A INVALID CODE! Please Try Again!

Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
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