Home /
Expert Answers /
Computer Science /
in-c-for-the-programming-language-proper-dates-there-are-many-different-date-formats-used-in-the-pa420
(Solved): In C# for the programming language Proper Dates: There are many different date formats used in the ...
In C# for the programming language
Proper Dates: There are many different date formats used in the world, such as day/month/year, year/month/day, and month/day/year. Dealing with these is a common challenge for programmers working with international applications (like every website on the Internet). For this assignment, you will create a program that automates this process. You will ask the user to enter the year and day as a number (e.g. 9/2023) and the month as both a number and a String (e.g. 1, January). You will then print the following combinations of date formats: - day/month/year - year/month/day - month/day/year - Month (String) day, year - day Month (String) year Examples of the program are shown below. Save your source code in a file called Assignment1C (with a file extension of .cpp, .cs or .java) Sample Output: Enter the day (number): 9 Enter the month (number): 1 Enter the month (String): January Enter the year (number): 2023 Here are some ways to represent the date: 1/9/20232023/9/19/1/2023 January 9,2023 Enter the day (number): 9 Enter the month (number): 1 Enter the month (String): January Enter the year (number): 2023 Here are some ways to represent the date: 1/9/20232023/9/19/1/2023 January 9, 2023