Write a program to calculate the average of the class by following steps: 1. Ask user input how students in the class 2. Use random function to generate the score (between 0 and 100) for each student and calculate the total of the scores by using while loop 3. Define a function "double average(int, int)" to calculate the class average 4. In main function call average function and display the average of the class