class Program
{
static void Main(string[] args)
{
SealdClass sc = new SealdClass();
Console.WriteLine("Enter the first number");
int x = int.Parse(Console.ReadLine());
Console.WriteLine("Enter the second number");
int y = int.Parse(Console.ReadLine());
sc.a = x;
sc.b = y;
Console.WriteLine();
Console.WriteLine("a = {0},b={1}", sc.a, sc.b);
Console.ReadLine();
}
}
Output:
No comments:
Post a Comment