0
Whats wrong? Can you find it?
4 Answers
+ 2
BestMordeEUW
public class Program
{
public static void main(String[] args){
int size =3;
for(int k=3; k>=0; k--){
for(int j=0; j<k; j++){
System.out.print("*");
}
System.out.print("\n");
}
}
}
+ 1
I see no error. What's supposed to be printed?
0
BestMordeEUW
you are printing
*
* so on check this and play with code to get some decent output
https://code.sololearn.com/cSLzUK00cIHf/?ref=app
0
yeah, i have given bad information. i want this to be printed :
***
**
*