Skip to content

Instantly share code, notes, and snippets.

@nomuken
Created September 23, 2014 15:25
Show Gist options
  • Save nomuken/38a194d7795ae75c24e3 to your computer and use it in GitHub Desktop.
Save nomuken/38a194d7795ae75c24e3 to your computer and use it in GitHub Desktop.
最大値を"計算で"求めるプログラム
/**
* 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