Calender Calculation | Sololearn: Learn to code for FREE!


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. The above code is just what I've been working on here on SoloLearn while I was away from my computer. 😁

7/22/2017 11:48:59 PM

Mike Mortensen

2 Answers

New Answer


I am not getting any output


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? 🤔