Write a case study on public static void main(250 words)
Answers
Switch Case Program in c#
using System;
namespace DecisionMakingProgram {
class Program {
static void Main(string[] args)
{
switch (grade)
{
case 'a':
Console.WriteLine("Excellent!");
break;
case 'b':
case 'c':
Console.WriteLine("Good");
break;
case 'd':
Console.WriteLine("You passed");
break;
case 'e':
Console.WriteLine("Fail");
break;
default:
Console.WriteLine("Invalid grade");
break;
}
Console.WriteLine("Your grade is {0}", grade);
Console.ReadLine();
}
}
}
Know More
Q.1.- explanation about case study on public static void main
Click Here- https://brainly.in/question/6802380