i'll make a triangle using this code,ad get the output like that..
class Cuba9{
public static void main(String[]args){
for (int i = 1; i < 4; i++){
for (int j = 1; j <i+1; j++)
{
System.out.print("");
}
System.out.println("*");
}
}
}
*
**
***
****
now i want to make it like a mirrow reflect ,so what should i do,can i just do it using the same coding or need to change it. I'm a noob,just learn it yesterday,this is my exercise,someone help me..

