Problem:
Question 1- Write a program to find the largest, smallest, and average values in a collection of n numbers where the value of n will be the first data item read in c++.
Question 2- Write an applet program that will create an animation of a shape (a cat? or a snake?) moving across the screen using Graphics2D.
Show the code, demonstrate it works properly and describe what it is doing.