Calender Calculation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Calender Calculation

I'm trying to find the best way of Creating a calender. so far I can create a month and a year if I start with January, 1st, 2017. However I can't get another year or go from january to december without losing data as my program only knows how the next month will look based on the previous month :-) I'm looking for some math help if possible. https://code.sololearn.com/cRT487wl0zSK/?ref=app The above code is just what I've been working on here on SoloLearn while I was away from my computer. 😁

22nd Jul 2017, 11:48 PM
Mike Mortensen
Mike Mortensen - avatar
2 Answers
+ 6
I am not getting any output
23rd Jul 2017, 2:20 PM
Freetoast
Freetoast - avatar
+ 1
It does that sometimes. Just try again :-) it will give you output :-) NOTE: I Just tested the code and nothing is wrong with it. I don't know why but sometimes it just needs a few "Run" before it displays output? 🤔
23rd Jul 2017, 2:46 PM
Mike Mortensen
Mike Mortensen - avatar