Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first_name = Console.ReadLine();
- second_name = Console.ReadLine();
- age = Console.ReadLine();
- Console.WriteLine("Please enter your first, and second name - and also your age.");
- Console.WriteLine("You are called:");
- Console.WriteLine(first_name);
- Console.WriteLine(second_name);
- Console.WriteLine("And you are...");
- if (13 > age)
- Console.WriteLine("You are a kid.");
- if (20 > age)
- Console.WriteLine("You are a teen.");
- if (22 < age)
- Console.WriteLine("You are an adult.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement