What I need to do is create an array of 1001 numbers and have the user enter as many positive numbers up to 1001 numbers into the program and terminate the array with a 0 or negative number. In this example, the user entered 19 13 7 21 11 9 15 17 -1. Then I need to have the program ask the user to enter 2 of the numbers that appeared/or didn't in the list they originally entered and have the program (For example 13 and 9) and print out these three things-
1) The 2 additional numbers appear in the original list in the same order (not necessarily consecutive).
2)The 2 additional numbers appear in the original list, but not in the same order ( and, again, not necessarily consecutive).
3)These 2 additional numbers do not appear together in the original list (although one of them might).
For example to see what I am talking about:
1) That pair (13 and 9) could be found, in that order, in the following list:
19 13 7 21 11 9 15 17
2) That pair (9 and 13) could be found, in that order, in the following list:
19 13 7 21 11 9 15 17
3) That (8 and 9) could not be found, at all, in the following list:
19 13 7 21 11 9 15 17