This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(x = 1; x <= 100; x++){ | |
if(x % 15 == 0){ | |
console.log('FizzBuzz'); | |
} | |
else if(x % 3 == 0){ | |
console.log('Fizz'); | |
} | |
else if(x % 5 == 0){ | |
console.log('Buzz'); | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
class Solution { | |
static void Main(String[] args) { | |
string[] tokens_a0 = Console.ReadLine().Split(' '); | |
int a0 = Convert.ToInt32(tokens_a0[0]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
# | |
## | |
### | |
#### | |
##### | |
*/ | |
for (int x = 1; x <= 5; x++) | |
{ |