My first for loop

for (int i=12; i>=1; i--) {
    String month;
    if (i<10) month= "0" + i;
    else month= "" + i;
    //You might want to do something with the variable "month"
}

Browse More Popular Posts

Leave a Comment