Advertisement
Spocoman

01. Numbers Ending in 7

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