Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Console.WriteLine("Enter your birth-year:");
- int year = Convert.ToInt32(Console.ReadLine());
- int age = 2021 - age
- Console.WriteLine("Your age is: " + age);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement