public static void Main()
{ int num,memberOFfamily,sum=0,pay1=1;
Console.WriteLine("enter the number of places on the truip");
num=int.Parse(Console.ReadLine());
Console.WriteLine("enter the memebers pf family");
memberOFfamily=int.Parse(Console.ReadLine());
Console.WriteLine("enteryour last name");
lastname=Console.ReadLine();
while(memberOFfamily<num)
Console.WriteLine(lastname+pay1+"THE FAMILY HAS TO PAY");
Console.WriteLine( "not enough places");
Console.WriteLine(sum+"all trip payments");