Please enter a date (mm dd yyyy): 13 1 2001 This date has an error! 13 is an invalid month. |
Please enter a date (mm dd yyyy): 3 12 3012 This is 3-12-3012 and is day number 72 of the leap year 3012. |
Please enter a date (mm dd yyyy): 2 29 2002 The day 2-29-2002 is invalid. There are only 28 days in February during non-leap years. |
Please enter the three edges of a triangle: 3 5 4 This is a right triangle. |
Please enter the three edges of a triangle: 4 5 2 This is NOT a right triangle. |
Please enter the three edges of a triangle: 1 - 2 1 The second edge is invalid. |