Question: Writing a program using C# Arrays. The end two pictures are the demo outputs of the program. Step 1: Create a program named CPSC1012-Ex09-YourName Step
Step 1: Create a program named CPSC1012-Ex09-YourName Step 2: Create the method specified below: static int EnterGrades (int[] grades, int max) Input parameters: grades: an integer array for the student grades max: the maximum number of grades to enter Returns: How many grades were entered Step 3: Create the method specified below: static void SortGradesDescending(int[l grades, int size) Input parameters: grades: an integer array for the student grades size: the logical size of the array (how many grades were entered Output: Void (the array will be sorted from highest grade to lowest grade) Step 4: Create the method specified below: static void DisplayArray (int[] grades, int size) Input parameters: grades: an integer array for the student grades size: the logical size of the array (how many grades were entered) Output: The grades array, and the average of the grades, will be displayed. Step 5: In the Main() method, provide required additional code, then call the methods ir order. Sample Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
