Question: please do both sections a and b in dev C++ language using looping and array methods need to have the same output Declare two string

please do both sections a and b in dev C++ language using looping and array methods
need to have the same output  please do both sections a and b in dev C++ language

Declare two string arrays named studID and studName respectively, each can store up to 8 elements. Then perform the following: (a) Prompt user to enter up to 8 students' ID and names from your class. Store the data into the respective studID and studName arrays. Remark: You may use a while or do-while loop. Ensure stop prompting for input after 8 iterations. Example of input: Enter Student Name: -> Chong S.W. Enter Student ID: -> SID12345 Press [Yfor more record, press [N] to stop Option:-> Enter Student Name: -> (b) Tabularize all the student IDs and student names retrieved from the studID and studName arrays. Example of output screen is as follows: No. Student Name Student ID 1 2 3 4 5 6 7 8 Chong S. W. Leng Y. L. Laurence Leong Chris Lim Alan Tam Wong C. H. Caleb Wong Wong Y. X. SID12345 SID23456 SID34567 SID45678 SID56789 SID67890 SID78901 SID89012

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!