Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(MonthsOfTheYear[x]<=12)
- {
- total = MonthsOfTheYear[x].length;
- counter = counter + total;
- x++;
- }
- alert("You chose " + MonthsOfTheYear[month-1] + " the total number of characters is " + counter);
Add Comment
Please, Sign In to add comment