Question: In C++. 1. Dene (write) a structure that will store a name and ID number. The structure should have two members: a character array or

In C++.

1. Dene (write) a structure that will store a name and ID number. The structure should have two members: a character array or string to store the name and an integer to store the ID. 2. Write a function that allows the user to enter a name and ID number for a structure variable. 3. Write a function that prints the structure. You can chose how the name and ID are printed. 4. Write a program that creates an array of ten (10) of these name and ID structures, allows the user to read up to ten (10) names and IDs, and then prints the list of names and IDs. The names and IDs should be entered and printed using the two functions written in steps 2 and 3 previously.

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!