May 2021 3 38 Report
programming problem part 1?

Write a program that will ask the user to input the day, month and year in numerical form, format: dd mm yyyy. Then, display the day of the week and the day of the year of the date entered by the user. Your program should continue this process until zero is given for value of the day, month and year. For instance:

Enter date: 05 12 2008

Will produce;

May 12, 2008 is Monday and that is the 133 day of the year.

Note: The last day of 2000 (31/12/2000) was a Sunday. This was the 366th day of the year. The year 2000 was a leap year.

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 QUIZLS.COM - All rights reserved.