Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am very, very new at programming and do not quite understand it very well. I a

ID: 3642961 • Letter: I

Question

I am very, very new at programming and do not quite understand it very well. I am taking an Introduction to Programming Class and I am creating an array, in which I need to ask the user for two pieces of information. Both pieces, lets says the person's age, and last name need to be stored in the array. Then once all the data is collected I have to print out a list displaying the information. This is an array of 25. How would I do this? Could someone put this in easy to understand terms for me. Thank you so very much.

Explanation / Answer

struct info

{

int age;

string name;

};

struct info array[25];

now

save info in array of 25

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote