+ 1

How to print this pattern using c or c++?

***** * * * * * * * * *****

23rd Sep 2018, 3:36 AM
Sreejith P
Sreejith P - avatar
2 odpowiedzi
+ 2
Sree use a for loop (for row count as 6)... in for loop have another for loop (for column count as 5)... print * in column loop if row is first or last.. else print space.. irrespective of row, print star for first and last column let me know if you have any further questions
23rd Sep 2018, 3:47 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
23rd Sep 2018, 12:10 PM
Sreejith P
Sreejith P - avatar