Created
June 27, 2014 06:13
-
-
Save sh4869/e5ba1b67e5ed36302477 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 Main | |
{ | |
public static void main(String[] args) | |
{ | |
String kokoro = "kokoro"; | |
String pyon = "pyon"; | |
String befo = pyon; | |
String res = kokoro + pyon; | |
String res2 = ""; | |
int i = 1; | |
while(i< 10){ | |
i++; | |
System.out.println(res); | |
res2 = befo + res; | |
befo = res; | |
res = res2; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment