Advertisement
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;
- using System.Globalization;
- namespace ConsoleApp8
- {
- class Program
- {
- static void Main(string[] args)
- {
- DateTime birthDay = DateTime.ParseExact(
- Console.ReadLine(), "dd-MM-yyyy",null);
- Console.WriteLine(birthDay.AddDays(999).ToString("dd-MM-yyyy"));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement