0
How to get this using an arrays?
Month of index 0 : JANUARY Month of index 1 : FEBRUARY Month of index 2 : MARCH Month of index 3: APRIL Month of index 4: MAY Month of index 5 : JUNE Month of index 6 : JULY Month of index 7 : AUGUST Month of index 8 : SEPTEMBER Month of index 9 : OCTOBER Month of index 10: NOVEMBER Month of index 11: DECEMBER The array size is: 12
4 Respuestas
+ 2
Hi Shennel!
As you mentioned in the title, using array the best way to get this.
So, we believe that you know how to store all these data(here months) in an array.
Once you defined the array, you can use for loop to iterate array.
It's simple and you don't have to think about it too much.
If you're unable to start anything, we suggest you to see the wanted lessons on here or anywhere you learnt the basics.
0
From the profile page, the language is probably Java.
Shennel Sefulan please specify the coding language you are asking about. It is very relevant.
Java example:
https://code.sololearn.com/ctqhgMaI5lx0/?ref=app