using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pro3
{
class Program
{
static void Main(string[] args)
{
/* to accept name and age */
Console.WriteLine("Enter Name");
string name = Console.ReadLine();
Console.WriteLine("Enter Age");
int age = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("your name is " + name);
Console.WriteLine("your age " + age);
Console.ReadLine();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pro3
{
class Program
{
static void Main(string[] args)
{
/* to accept name and age */
Console.WriteLine("Enter Name");
string name = Console.ReadLine();
Console.WriteLine("Enter Age");
int age = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("your name is " + name);
Console.WriteLine("your age " + age);
Console.ReadLine();
}
}
}