Computer Science 101 Midterm Exam Name ______________________ 1. Write a program that reads PAIRS of integers from the standard input. The program should compute sum of each pair and print the largest sum found to the standard output. 2. Write a program reads integer values from the standard input into an array of 20 ints (you may assume that there will never be more than 20 items in the input) and then prints them out in the reverse order in which they were read (You may NOT assume there will be exactly 20 items in the input file). 3. Write a program that reads one integer value at a time from the standard input. If the collection of input integers contains a 7 followed immediately by an 11, the program should write "yes" (without the "s) to the standard output. Otherwise it should write "no" to the standard output. The number of integers in the input file may be arbitrarily large.