public static void first_tar()
Console.Write("enter now year:");
int nowYear=int.Parse(Console.ReadLine());
Console.Write("enter the year that you were born:");
int born = int.Parse(Console.ReadLine());
Console.Write("age: "+(nowYear-born));
public static void second_tar()
Console.WriteLine("enter number");
int number = int.Parse(Console.ReadLine());
Console.WriteLine(number+1);
Console.WriteLine(number+2);
Console.WriteLine(number+3);
public static void third_tar()
Console.Write("what the high");
int high = int.Parse(Console.ReadLine());
Console.Write("what the long");
int rib = int.Parse(Console.ReadLine());
Console.WriteLine("perimeter "+(rib*3));
Console.WriteLine("area "+(high*rib));
public static void four_tar()
Console.Write("how much the trip cost in dollars");
double trip = double.Parse(Console.ReadLine());
Console.Write("the trip cost in shekels: " +(trip+400)*3.5);
public static void five_tar()
Console.Write("how much p? ");
double p = double.Parse(Console.ReadLine());
Console.Write("the c: " +(p-32)*0.555);
public static void six_tar()
Console.WriteLine("how much money per hour ?");
double per_hour = double.Parse(Console.ReadLine());
Console.WriteLine("how much hours in day?");
double hours_day = double.Parse(Console.ReadLine());
Console.WriteLine("how much hours in night");
int hours_night = int.Parse(Console.ReadLine());
Console.WriteLine("how much hours in shabat");
int hours_shabat = int.Parse(Console.ReadLine());
Console.WriteLine("how much you get payed "+(hours_day*per_hour+(hours_night*per_hour)*1.5+(hours_shabat*per_hour)*2));
public static void seven_tar()
Console.WriteLine("enter year now");
int now = int.Parse(Console.ReadLine());
Console.WriteLine("enter year born");
int born = int.Parse(Console.ReadLine());
Console.WriteLine("your age in days " + (now -born)*365);
Console.WriteLine("your age in hours " + (now -born)*365*24);
Console.WriteLine("your age in secends " + (now -born)*365*24*60*60);