public static void Main()
Console.WriteLine("Enter the name of the student: ");
string name=Console.ReadLine();
Console.WriteLine("Enter the age: ");
int age=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the year of entry: ");
int year=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the nacionality: 1.National 2.Foreign");
int nac=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the number of subjets: ");
int s=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("\nThe total of {0} subjets is ${1}\n",s,t);
else if(year<=2015 && nac==2)
Console.WriteLine("\nThe total of {0} subjets is ${1}\n",s,t);
else if(year>2015 && nac==1)
Console.WriteLine("\nThe total of {0} subjets is ${1}\n",s,t);
else if(year>2015 && nac==2)
Console.WriteLine("\nThe total of {0} subjets is ${1}\n",s,t);