silvana1303

divide by 3

Apr 5th, 2021
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function divideBy3(){
  2.     for (let i=1; i <= 100; i++){
  3.         if (i % 3 == 0){
  4.             console.log(i)
  5.         }
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment