SHARE
TWEET

num 100 200 1

AreWe Jan 20th, 2020 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (input) => {
  2.     const num = Number(input.shift());
  3.     if(num < 100) console.log('Less than 100');
  4.     else if(num <= 200) console.log('Between 100 and 200');
  5.     else console.log('Greater than 200');
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top