Question
1) Using Visual Studio 2019 or your selected IDE, create a C++ program solution for Chapter #5 Programming Challenges #14 Student Line Up on page
1) Using Visual Studio 2019 or your selected IDE, create a C++ program solution for Chapter #5 Programming Challenges #14 "Student Line Up" on page 299 of the textbook.
2) You must use good programming style as shown in the examples in the textbook to include ample comments in your source code. You must include helpful information in a header block of your source code to include a description of the program, the source of your program, your name, and the date.
3) Your program must include input validation to make sure that the total number of students is between 1 and 25.
4) You must make a single execution of your program by first inputting 26 as the number of students in the class to produce an appropriate error message.
5) Your program must then continue execution to include the input of the following student names: Amy, Yolanda, Lily, Chloe, Eden, Alivia, Lucas, Zachary, Manish, Jane, Tony, Alan, Robert, Lakeisha, Mary, and Caleb. Assume that the students enter the classroom in this order, but then line up alphabetically.
6) You must determine the correct first and last student names in the alphabetically ordered line and display their names.
7) Package your IDE screen snapshot, your complete C++ source code, and your output screen snapshot(s) for your program's execution, with your personal information at the top of the page, in a single Word or PDF file and submit by the due date/time.
how do I write this program
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started