Question: This is what I got so far public static void main ( String [ ] args ) { for ( int i = 6 ;

This is what I got so far
public static void main(String[] args){
for (int i =6; i >=0; i--){
int exc =12-2* i;
for (int j = i; j >=1; j--){
System.out.print("*");
}
for (int j =12; j > exc; j--){
System.out.print("/");
}
for (int j = i; j <=5; j++){
System.out.print("\\");
}
for (int j = i; j >=1; j--){
System.out.print("*");
}
System.out.println();
}
}
}
but I need it to print this
******////////////******
*****//////////\*****
****////////\\****
***//////\\\***
**////\\\\**
*//\\\\\*
\\\\\\
What am I missing to give them the space?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!