Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- namespace Unknown
- {
- class Program
- {
- static void Main(string[] args)
- {
- int centuries = int.Parse(Console.ReadLine());
- int year = centuries * 100;
- int days =(int)(year * 365.2422);
- int hours =(int) days * 24;
- int minutes = hours * 60;
- Console.WriteLine("{0} centuries = {1} year = {2} days = {3} hours = {4} minutes",
- centuries,year,days,hours,minutes);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement