+ 2
Print the following pattern by string manipulation in java.
B B L B L U B L U E B L U E J
1 Réponse
+ 7
String print_dumb = "BLUEJ", res = "";
for(int i = 0; i < print_dumb.length(); i++) {
res += print_dumb.charAt(i);
System.out.println(res);
}