Created
September 19, 2013 16:42
-
-
Save hiyorineko/6626187 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 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