Question: In c++. How do i print 5 things at once until the user hits enter and then another 5 print? like if i had string
In c++.
How do i print 5 things at once until the user hits enter and then another 5 print?
like if i had
string name[10]={"Charles","Megan","Luke","Jacob","Beth","Riley","Gary","Sarah","Dave","Pat"}
cout<< name << endl;
what would i put to make it so it prints the first 5 names, then hit enter and the last 5 names priint?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
