Below code is to convert a date to the corresponding day of the week. It asks for month, day, year. Then, prints out the day.
When I input a float number like 10.2 fo