public static void Main()
int F2Units, thirdUnit, L2Units, Final;
Console.WriteLine("what is your grade on the first 2 units?");
F2Units = int.Parse(Console.ReadLine());
Console.WriteLine("what is your grade on the third unit?");
thirdUnit = int.Parse(Console.ReadLine());
Console.WriteLine("what is your grade on the last 2 units?");
L2Units = int.Parse(Console.ReadLine());
F2Units = (33 * F2Units / 100);
thirdUnit = (17 * thirdUnit / 100);
L2Units = (50 * L2Units / 100);
Final = F2Units + thirdUnit + L2Units;
Console.WriteLine("You got on the first 2 units {0}, on the third unit {1}, on the last 2 units {2} and your total grade is {3}", F2Units, thirdUnit, L2Units, Final);