Question: IN C# - Problem #1 Logical Operators: Making The Grade In this program we are going to ask the user for 2 grades. You should

IN C# - Problem #1 Logical Operators: Making The Grade In this program we are going to ask the user for 2 grades. You should validated both grades to make sure they are numbers and store the converted number values in 1 array with 2 elements.

Then create a single conditional that would determine if both grades are both 70 or above. If they are, tell the user that both grades are passing. If one or both of the grades are lower than 70, tell them to try harder next time. Make sure to use the array value inside of the conditional tests.

User Inputs: o Prompt for (2) test grades one at a time.

Storetheconvertednumbervaluesinsideofanarraythatyoucreate.

Result To Print Out:

o Congrats, both grades are passing! Or One or more grades are failing, try harder next time!

Data Sets To Test:

o Grade 1 95 Grade 2 85 Results Congrats, both grades are passing!o Grade 1 82 Grade 2 68 Results One or more grades are failing, try

harder next time! o Grade 1 Eighty Computer should Re-prompt , Grade1 80 Grade 2 - 91

Results Congrats, both grades are passing!

o Test One Of Your Own & Write all 4 of these tests in a multi-lined comment in your code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!