Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Globalization;
- using System.Threading;
- class Program
- {
- static void Main(string[] args)
- {
- Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
- short day = short.Parse(Console.ReadLine());
- short mounth = short.Parse(Console.ReadLine());
- short year = short.Parse(Console.ReadLine());
- DateTime now = new DateTime(year, mounth, day);
- now = now.AddDays(1);
- Console.WriteLine("{0:d.M.yyyy}", now);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement