Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
RSS cloud
Jump to:

Assignment 1 Task 1

1 of 390 articles shown, currently no other people reading this forum.
From: Christopher M.
Date: Thu 2nd Apr 2020, 6:54pm


"David May" <17*1*2*[email protected]*u*e*t*u*a*e*u*a*> wrote:

> The example output from the "between" program gives the difference between 2 April and 20 April as 19 days.  However, the stated convention is that consecutive days differ by 1. Therefore, I would expect the 2nd and 20th days of April to differ by 18 days.

Yes, 18. Corrected. Thanks David.

> Proof: Consecutive days differ by 1 day (given).

My proof: 20 - 2 = 18.

Related articles

Assignment 1 Task 1 (both) RSS
├─ original   Thu 2nd Apr 2020, 6:50pm, David M.
└─ THIS   Thu 2nd Apr 2020, 6:54pm, Christopher M.
This Page

Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020