Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started