Created
September 23, 2014 15:25
-
-
Save nomuken/38a194d7795ae75c24e3 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
/** | |
* Created by nomuken on 9/24/14. | |
*/ | |
public class MaxVal { | |
public static void main(String[] args){ | |
int counter=1; | |
while (counter+1>0){ | |
counter++; | |
} | |
System.out.print(counter); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment