Created
June 24, 2017 02:15
-
-
Save sjehutch/c689ac09d2ae98299d0693e060c627ba to your computer and use it in GitHub Desktop.
testcsharp
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 i = 100 ; i > 0 ; i--) { | |
if (i % 2 == 0){ | |
Console.WriteLine(i + " is even"); | |
} | |
else if (i % 5 == 0) { | |
Console.WriteLine ("Things with a remainder of 5 are stupid"); | |
} | |
else { | |
Console.WriteLine (i + " is odd"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment