Question: C# language Exercise 1: Write a program that asks the user the grade received in the course. If the grade is >= 90, then the


C# language Exercise 1: Write a program that asks the user the grade received in the course. If the grade is >= 90, then the student received an A. if between 80 and 89, it is a B, if between 70 and 79 it's a C, if between 60 and 69 it's a D and if less than 60, it's a failure, and require the student to repeat the course. Input 1: Please Enter your course grade >> 83 Output 1: You have received a letter grade of B Input 2: Please Enter your course grade >> 42 Output 2: You have failed the course; you are required to repeat the course next semester. Microsoft Von Studio Debug Console Enter your course grade >>42 You have failed the course; you are required to repeat the course next semester. En Microsoft Visual Studio Debug Console Enter your course grade >>78 You have recieved a letter grade of C 6A Microsoft Visual Studio Debug Console Enter your course grade >>86 You have recieved a letter grade of B Note: you can use if statements or Switch statement for this code Introduction to programming (C#) Exercise 2: Write a program to create a simple calculator, take two values from the user as well as he operation he/she wants to perform. Use a switch statement to perform the operation Input 1: Enter Number 1 >> 6 Enter Number 2 >>8 Enter the operation >> + Output 1: 6 +8-14 Input 2: Enter Number 1 >> 15 Enter Number 2 >> 3 Enter the operation >> Output 2: 15/3 = 5 CA Microsoft Visual Studio Debug Console Enter Number 1 >>5 Enter Number 2 >>3 Enter the operation>>* 5 * 3 = 15 EA Microsoft Visual Studio Debug Console Enter Number 1 >>9 Enter Number 2 > >6 Enter the operation>>$ Iconrrect operation symbol
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
