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

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
Question
100%

C++

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: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!
Transcribed Image Text: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!
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
SQL Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr