Advertisement
Guest User

Age

a guest
Apr 25th, 2013
1,113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. class Age
  4. {
  5.     static void Main(string[] args)
  6.     {
  7.         Console.Write("My age now:");
  8.         int Age = int.Parse(Console.ReadLine());
  9.         Age += 10;
  10.         Console.WriteLine("My age after ten years:"+Age);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement