Sagarmantha Prema
7 years ago
Console.WriteLine("Enter the Age:");}
age=Convert.ToInt32(Console.ReadLine());
if(age<0)}
{
Console.WriteLine("Invalid age");
}
else
{
Console.WriteLine("valid age");
}
Console.WriteLine("Enter the table number:");}
t=Convert.ToInt32(Console.ReadLine());
for(i=1;i>0;i++)}
{
Console.WriteLine("{0} * {1} = {2}",i,t,(i*t));
}
MyTable obj=new MyTable();}
obj.accept();
obj.show();
Labels: C# Programming