示例#1
0
        public static void Main()
        {
            string inputHour    = PromptHour();
            string inputMinutes = PromptMinutes();
            Clock  newClock     = new Clock(inputHour, inputMinutes);

            newClock.SetClockPositions();
            Console.WriteLine("At " + newClock.GetHoursInput() + ":" + newClock.GetMinutesInput() + ", the hands on the clock are " + newClock.CalculateAngle() + " degrees apart!");
        }