using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace switchcaseStatement
{
class Program
{
static void Main(string[] args)
{
/* realtime this value are given by user to see result */
int Number = 80;
switch (Number)
{
case 80:
/* case label one*/
Console.WriteLine("\n You got A + grade");
break;
case 70:
/* case label two*/
Console.WriteLine("You have got A grade");
break;
case 60:
/* case label three*/
Console.WriteLine("You have got A - grad");
break;
case 50:
/* case label four*/
Console.WriteLine("You have got B - grad");
break;
default:
Console.WriteLine("Invalid grade");
break;
}
Console.WriteLine("\n Your grade is {0}", Number.ToString());
Console.ReadLine();
}
}
}