+ 1
Write a nested loops to output this pattern: ******* ****** ***** **** *** ** *
3 ответов
+ 5
Here you are:
https://code.sololearn.com/cw6RGwJToCrJ/?ref=app
+ 1
for (int i=1; i <=7; i++){
for (int j=7; i >=1; i--){
cout <<"*";
}
cout <<endl;
}
0
sorry i used c++ notation but logic is same in java