Question: Q1 (5 points): Write a C# program: Input a grade in letters (A, B, C, D, F), print the corresponding GPA points A:4 B:3 C:2
Q1 (5 points): Write a C# program: Input a grade in letters (A, B, C, D, F), print the corresponding GPA points A:4 B:3 C:2 D:1 F:0 If user input a letter rather than (A, B, C, D, F), then print Wrong Letter Grade! Sample output:
Hint: if else-if statement Q2 (5 points): Write a C# program: Ask user to input three numbers and print the smallest value. Hint: Console.ReadLine(); Convert. ToInt16(); nested if statement

Include a C# program that takes as input a year and check if it is a leap year. Test your program by inputting: - a leap year: 2008 - and a non-leap year: 1900 How to know if it is a leap year: https://www.mathsisfun.com/leap-years.html Sample output:

Please input a letter grade: Please input a letter grade: F GPA point: 0 Wrong Letter Grade! G Please input the first num: 12 Please input the second num: 11 Please input the third num: 14 The smallest value is: 11 Please input a year : 2008 2008 is a Leap Year. Please input a year : 1900 1900 is not a Leap Year. Hint: Console.ReadLine(); Convert.ToInt160); nested if statement or logical operators
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
