Created
January 14, 2016 12:32
-
-
Save ornirus/816a3e61fd8b72b09523 to your computer and use it in GitHub Desktop.
This file contains 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
public void count () { | |
for (i = -10; i++; i < 91) { | |
ans = ans + i; | |
} | |
system.out.println(ans); | |
} |
This file contains 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
public void time() { | |
for (hour = 0; hour++; hour < 24) { | |
for (minute = 0; minute++; minute < 60) { | |
for (second = 0; second++; second < 60) { | |
system.out.println(hour + ":" + minute + ":" + second); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment