+ 1

please help me to buld logic for this c++ pattren code please &&&&&&& & ****** & **** & ** & * &&&&&&&

4th Dec 2020, 11:15 AM
Imran Ali
Imran Ali - avatar
6 odpowiedzi
+ 9
Imran Ali Your attempt needed in order to help u!
4th Dec 2020, 1:55 PM
Piyush
Piyush - avatar
+ 3
Use one loop to print the &s horizontally. Then a loop with 4 iterations for the next 4 rows. In each of these, you display the & first. Then you will need an inner loop to display blanks and the *s. Finally, repeat what you did with the first row to display the last row of &s.
4th Dec 2020, 11:27 AM
Sonic
Sonic - avatar
+ 3
We're not supposed to provide exact answers to homework problems.
4th Dec 2020, 11:28 AM
Sonic
Sonic - avatar
+ 2
Think about it. You will need some for loops.
4th Dec 2020, 11:18 AM
Sonic
Sonic - avatar
+ 1
Sonic please help me I'm doing my paper
4th Dec 2020, 11:19 AM
Imran Ali
Imran Ali - avatar
+ 1
1.What will be the input ?? 2.If you don't take any input why don't you just print the pattern with print statement ?
4th Dec 2020, 11:29 AM
The future is now thanks to science
The future is now thanks to science - avatar