Skip to content

Instantly share code, notes, and snippets.

@hiyorineko
Created September 19, 2013 16:42
Show Gist options
  • Save hiyorineko/6626187 to your computer and use it in GitHub Desktop.
Save hiyorineko/6626187 to your computer and use it in GitHub Desktop.
なぜかちゃんと動くコード
public class Baisuu{
public static void main(String[] args){
int A = 1;
for(int i=1;A<31;i++){//32までの2の倍数を表示したい
A = i * 2;
System.out.println(A);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment