Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace AgeAfter10Years
- {
- class Program
- {
- static void Main()
- {
- Console.WriteLine("What is your age ?");
- int age = int.Parse(Console.ReadLine());
- int futureAge = age + 10;
- Console.WriteLine("After 10 years you will be {0} years old.", futureAge);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment