Load strings into an array from CIN; stop when the user enters “stop”. Then, calculate the middle position of the array and display the second half of the array. Assume that there will not be more than 20 entries into the array. Run the program to see the expected output. Please use only WHILE loops and if/else statements. The code needs to start with int main () { not #include.

Leave a Reply

Your email address will not be published. Required fields are marked *