It's UWAweek 48

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying the 2 articles in this topic
Showing 2 of 919 articles.
Currently 3 other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
2:55pm Wed 14th Sep, ANONYMOUS

Hello, why does the sample solution accept the input 31/09/2022. Should this not be an invalid input as 09/2022 end as 30th, as in there is no 31?


SVG not supported

Login to reply

👍?
helpful
2:56pm Wed 14th Sep, Christopher M.

ANONYMOUS wrote:
> Hello, why does the sample solution accept the input 31/09/2022. Should this not be an invalid input as 09/2022 end as 30th, as in there is no 31?
Because months are numbered from 0, so month 9 is October, which has 31 days. ??

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy