Question: All code must be in C++ using G++ compiler Write a program that asks the user to enter the name and ID numbers (ints) for

 All code must be in C++ using G++ compiler Write a

All code must be in C++ using G++ compiler

Write a program that asks the user to enter the name and ID numbers (ints) for a group of 10 users and stores them in parallel arrays. To make sure there are no duplicate IDs, perform a linear search over the previously entered IDs and ask the user to re-enter the ID if it has already been entered. At the end of the program, print the IDs that the user entered, along with the students' names. Example: Enter student name: BUI Gates Enter the ID for Bill Gates: 74927 Enter student name: Steve Jobs Enter the ID for Steve Jobs: 74927 That ID has already been entered for another student! Enter the ID for Steve Jobs: 83643 ... Students: 74927 Bill Gates 83643 Steve Jobs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!