Question
By using looping statements, cin and cout formatting, conditionals, and ISO date formats. Creat a project by using the Visual Studio Instructions: Create a project
By using looping statements, cin and cout formatting, conditionals, and ISO date formats. Creat a project by using the Visual Studio
Instructions:
Create a project named "DateList" that displays all dates between 2 dates.
The range of the input year will be between the years 1901 and 2099.
Read in two dates from the user in ISO format (YYYY-MM-DD) separated by whitespace.
The dates may come in any order. Print each date between the two. Include the oldest date and exclude the newest date.
The program should not prompt the user for the two dates. Simply accept the dates seperated by whitespace.
Dont forget the Class Policy rules, including using const.
Zero fill your dates to meet ISO format specification on the output. (see std::setfill manipulator).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started