Answers for "hackerrank fizzbuzz javascript"

1

hackerrank fizzbuzz javascript

for (i=1; i<=100; i++) {
    console.log((i%3==0&&i%5==0)?"FizzBuzz":(i%3==0)?"Fizz" : (i%5==0)?"Buzz" : i);
}
Posted by: Guest on April-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language