public static void Main()
int child1, child2, mother, father, sum, main;
Console.Write ("Enter child1: ");
child1 = int. Parse (Console.ReadLine ());
Console.Write ("Enter child2: ");
child2 = int. Parse (Console.ReadLine ());
Console.Write ("Enter mother:");
mother = int. Parse (Console.ReadLine ());
Console.Write ("Enter father:");
father = int. Parse (Console.ReadLine ());
sum = (child1 + child2 + mother + father);
Console.WriteLine (" the sum is {0} the main is: {1} " , sum, main );