Yash Awp2a
Yash Awp2a
CODE:-
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Practical_2a
switch (option)
case 1:
factorial = factorial * i;
Console.WriteLine(factorial);
Console.ReadLine();
break;
case 2:
case 1:
Console.WriteLine(rupees);
Console.ReadLine();
break;
case 2:
Console.WriteLine(rupees_1);
Console.ReadLine();
break;
break;
case 3:
Console.WriteLine("Value of a: ");
int a = int.Parse(Console.ReadLine());
Console.WriteLine("Value of b: ");
int b = int.Parse(Console.ReadLine());
Console.WriteLine("Value of c: ");
int c = int.Parse(Console.ReadLine());
double d = b * b - (4 * a * c);
if (d >= 0)
}
else
Console.ReadLine();
break;
case 4:
case 1:
Console.WriteLine(far);
Console.ReadLine();
break;
case 2:
Console.WriteLine(kel);
Console.ReadLine();
break;
Console.ReadLine() ;
break;
}
Output:-
i. Finding factorial Value
A) USD TO INR
B) EUR TO INR
A)IMAGINARY ROOTS
B) REAL ROOT
A) DEGREE TO FAR
B) DEGREE TO KEN