Write a program that asks the user to enter a date in MM/DD/ format that is typical for the US, the Philippines, Palau, Canada, and Micronesia. For the convenience of users from other nations, the program computes and displays this date in an alternative DD.MM. format. Sample run of your program would look like this: Please enter date in MM/DD/ format: 7/4/1776 Here is the formatted date: 04.07.1776 You can assume that the user will enter correctly formatted date, but do not count on having 0s in front of one-digit dates. Hint: you will need to use string addition (concatenation) here.

Solved
Show answers

Ask an AI advisor a question