Guess the output
public class Main{  
public static void main(String []args){
int i,j,lines=3;
for(i=1;i=lines;i++){
for(j=lines;j=1;j--){
if(j!=i)
System.out.print(j);
else
System.out.print("*");
}
System.out.println("");
}
}}


Posted on by