+ 1

I recently made this code and upon a look over i wondered if it can be simplified any?

I code as a hobby so i dont know much about a good and simplified code and i recently made this code below and was looking over it and wondered if it can be simplofied any or made better is so please comment below about how and what can be done https://code.sololearn.com/Wijn5IeidQEV/?ref=app

1st Feb 2019, 9:27 AM
Brennan Woodroof
Brennan Woodroof - avatar
2 Antworten
+ 3
Seniru Pasan ok thank you for the advise ill look into it and see how i can implement that into the code Edit; i have reviewed how an array, is used and see what you mean by on how to use them and i again thank you for your advice
1st Feb 2019, 9:57 AM
Brennan Woodroof
Brennan Woodroof - avatar
+ 2
Probably you can make it shorter. I am not going to try (it makes my heard weird when I see that XD). The idea will be use an array storing the in out things. Then make another array storing the days. Then use a for loop to print those values to the screen. You need to understand what I said now :P
1st Feb 2019, 9:41 AM
Seniru
Seniru - avatar