Guest User

Untitled

a guest
Jan 12th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. while(MonthsOfTheYear[x]<=12)
  2. {
  3. total = MonthsOfTheYear[x].length;
  4. counter = counter + total;
  5. x++;
  6. }
  7. alert("You chose " + MonthsOfTheYear[month-1] + " the total number of characters is " + counter);
Add Comment
Please, Sign In to add comment