Pr. Cogan†††††††††††††††††††††††††††††††††††††††††††††††††††††††††† ††††††† Assignment #24

CIS 16,Fall 2001†††††††††††††††††††††††††††††††††††††††††††††††††††††††† †††††††† Due Date:

 

 

        Write a complete program that calls a function to calculate and return the maximum and the average of its command line arguments.

 

        Have main print: the array, the maximum, and the average.

 

 

Sample Output:

 

Array: 54637-1

Max:7

Average:4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Donít forget to comment your program and include the following:

/* Your Name

* Class and Section

* Assignment #_________

* Date Due_____________

* Date Submitted________

*/