SHARE
TWEET

Quant Team Challenge -Sahil Goel

sahilg13 Sep 15th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Written in JavaScript by Sahil Goel:
  2. var n = input
  3. for (var i = 1), (i <= n ), (i = i + 1) {
  4. if ((i/2 = integer) && (i/7 = integer)) { console.log("Quant Team") }
  5. else if (i/2 = integer) { console.log("Quant") }
  6. else if (i/7 = integer) { console.log("Team") }
  7. else { console.log(i) }
  8. }
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