- 2

How to make pattern in c++ :-

1 121 12321 123321

4th Jan 2019, 5:53 AM
Umesh Kumar
Umesh Kumar - avatar
3 ответов
+ 18
Hy UmEsH KuMaR ChAmP ● Might some typing error in pattern , it must be like: 1 121 12321 1234321 ● For making this pattern : 1)run a loop for number of rows 2) inside it run a loop for each element, start from 1 to (row number) & when it reaches row number , start decreasing it to make 1 again.
4th Jan 2019, 7:49 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
4th Jan 2019, 7:12 AM
ShortCode
- 1
https://code.sololearn.com/c8OeV7di4VTn/?ref=app
21st Jul 2020, 1:13 AM
shubham kumar
shubham kumar - avatar