CodePudding user response:
#include
Int main () {
Int n, a, b;
The scanf (" % d ", & amp; N);
A=0; B=n - 1;
for(int i=0; iFor (int j=0; j If (a==j | |==b j)
printf("*");
The else
Printf (" ");
}
A + +; B -;
printf("\n");
}
return 0;
}
CodePudding user response:
#include
Int main () {
Int n, a, b;
The scanf (" % d ", & amp; N);
A=0; B=n - 1;
for(int i=0; iFor (int j=0; j If (a==j | |==b j)
printf("*");
The else
Printf (" ");
}
A + +; B -;
printf("\n");
}
return 0;
}