Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Coding in C# please Using the code provided create the missing methods CalculateAverage() and ShowAverage() so they receive the arguments that are passed from
Coding in C# please
• Using the code provided create the missing methods CalculateAverage() and ShowAverage() so they receive the arguments that are passed from the existing calling instructions.
• Design CalculateAverage() so it returns the calculated average of equally weighted course grades.
• Design ShowAverage() so the output displays the following:
G. Treele average: 84
using System; namespace ConsoleApplication1 { class Program { } static void Main() { } const float MATH GRADE = 80.0f ; const float = 80.0f; const float PROGRAMMING GRADE = 92.0f; const string STUDENT_NAME BIOLOGY GRADE = "G. Treele"; // Call CalculateAverage () to calculate the average grade. float average = CalculateAverage (MATH_GRADE, BIOLOGY GRADE, // Call ShowAverage () to display the student name and overall average. ShowAverage (STUDENT_NAME, average); Console.ReadLine();
Step by Step Solution
★★★★★
3.49 Rating (156 Votes )
There are 3 Steps involved in it
Step: 1
Code 1 using System 2 WNP 3 45678 9 10 11 12 13 14 5678 15 16 17 18 ...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