Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
string firstName = Console.ReadLine();
string lastName = Console.ReadLine();
byte age = byte.Parse (Console.ReadLine());
char gender = char.Parse (Console.ReadLine());
long personalId=long.Parse (Console.ReadLine());
int number = int.Parse(Console.ReadLine());
Console.WriteLine("First name: {0}",firstName);
Console.WriteLine("Last name: {0}",lastName);
Console.WriteLine("Age: {0}",age);
Console.WriteLine("Gender: f",gender);
Console.WriteLine("Personal ID: {0}",personalId);
Console.WriteLine("Unique Employee number: {0}",number);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.