Question: Purpose We will be creating two programs that will expose us to creating constant variables and arrays. If - Statement AverageScore.cs Write a program that:
Purpose
We will be creating two programs that will expose us to creating constant variables and arrays.
IfStatement
AverageScore.cs
Write a program that:
Prompts the user to input scores
Displays the average to two decimal places remember the tip in Homework
Using an ifstatement, if the average of the scores is over also prints "That's a great score!" Program components:
Variable declarations
scoredouble datatype
scoredouble datatype
scoredouble datatype
average double datatype
Other Requirements
Rename your file as AverageScore.cs
Run, test, and fix any errors.
No other variables should be created. Once you are complete, document your code. Also include internal comments where you see fit. Yours should match the below screenshot.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
