
Shao X. answered 04/14/19
Tutor
4.9
(34)
I am a software engineer at Amazon
String star = "*";
for(int i=0; i< 5; i++) {
System.out.println(star);
star = "*" + star + "*";
}
Shao X. answered 04/14/19
I am a software engineer at Amazon
String star = "*";
for(int i=0; i< 5; i++) {
System.out.println(star);
star = "*" + star + "*";
}
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.