CS 201, Summer 2002 Assignment #7: 10 Points. Due Date: Tuesday, 7/30/02. (3) 1. Write a program that uses a function template named 'min' to determine the smallest of three arguments. Test the program using integer, character and float types. Model your main program after Figure 3.27 in the text.** (2) 2. The elements of an array are related by the fact that they share two particular attributes of the array. What are the two attributes which are the same for all elements of an array? (2) 3. Write C++ statements to total and print the elements of a floating array named 'scores' which contains 100 elements. (3) 4. Modify Figure 4.16 to read a sequence of up to 10 positive integers separated by blanks, sort the numbers into descending order and print them out from largest to smallest. End the input sequence with a zero if less than 10 numbers are entered.** **For full credit, turn in fully commented program listings, including your name and the problem number, and the output from test runs exactly as produced by the program.