I created a program for weather report of 12 months..how can I expand it for 100 years? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I created a program for weather report of 12 months..how can I expand it for 100 years?

4th Aug 2017, 6:46 PM
Bhavesh Mahale
Bhavesh Mahale - avatar
3 Answers
+ 5
Can you please share your link to the code or program
4th Aug 2017, 7:00 PM
Krafty Coder
Krafty Coder - avatar
0
1 run it on a dedicated server 2 make your code flexible
4th Aug 2017, 7:22 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
0
just put the whole program n a for loop with test condition less than or equal to 1000 and assign a variable for years inside the loop which will get incremented
18th Aug 2017, 3:48 AM
shalini kumar
shalini kumar - avatar