daily pastebin goal
7%
SHARE
TWEET

1000 Days after birth.

grigorb57 Jan 22nd, 2018 (edited) 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Globalization;
  7.  
  8.  
  9. namespace ConsoleApp8
  10. {
  11.     class Program
  12.     {
  13.         static void Main(string[] args)
  14.         {
  15.             DateTime birthDay = DateTime.ParseExact(
  16.                 Console.ReadLine(), "dd-MM-yyyy",null);
  17.  
  18.             Console.WriteLine(birthDay.AddDays(999).ToString("dd-MM-yyyy"));
  19.         }
  20.     }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top