+ 19

Weres my Umbrella? [Challenge]

Ok, So my mum has a habit of going to work with an umbrella when its raining and leaving it at work if its sunny before she finishes. If its raining the next day she will have to go to work without an umbrella as shes left it at work so i made a challenge out of it 😜

13th Feb 2018, 12:16 PM
D_Stark - avatar
9 Answers
13th Feb 2018, 4:51 PM
LukArToDo - avatar
+ 7
I've updated the code to make output more compact
13th Feb 2018, 2:03 PM
Louis - avatar
+ 5
The program should start at home with a umbrella if the weather is sunny the umbrella never moves it only moves if its raining and thats only if the umbrella is at the place shes leaving if not then she walks in the rain back to home were the umbeller was left. does thar make sense?
13th Feb 2018, 1:13 PM
D_Stark - avatar
+ 5
@ Tato weather is random for 3 days or more if you want ☺
13th Feb 2018, 1:25 PM
D_Stark - avatar
13th Feb 2018, 2:46 PM
abdulazizumarovich - avatar
+ 4
9th Sep 2020, 5:04 PM
D_Stark - avatar
+ 3
So the weather is random?
13th Feb 2018, 1:11 PM
Tato - avatar