I completed the task successfully; however, my question is about reading from the keyboard. Initially, I wasn't meeting the requirement because my loop to read Strings from the keyboard was greater than 8. However, I only entered Strings via the keyboard. Why is this not considered reading 8 Strings from the keyboard? After the 8th String that was entered, it will continue to loop but there won't be any input to read. Please clarify if you can. Thanks.
Reading from keyboard
You must be signed in to leave a comment
16 July 2019, 21:43
This was a tricky task the task was for a 10 element array so the last two to enter were manual into the array (after the 8 strings from keyboard) array = "exa"; array = "example";