Print a pattern | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Print a pattern

1*2*3*4 9*10*11*12 13*14*15*16 5*6*7*8

24th Oct 2017, 6:46 PM
shubham kumar
shubham kumar - avatar
3 Answers
+ 5
cout << "1*2*3*4\n9*10*11*12\n13*14*15*16\n5*6*7*8"
24th Oct 2017, 7:29 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 2
Its not finished yet, I plan to format the output with <iomanip> later: https://code.sololearn.com/c0QA6N255jqx/?ref=app
27th Oct 2017, 2:04 PM
Shadow
Shadow - avatar
0
great👍👍👍
27th Oct 2017, 2:55 PM
shubham kumar
shubham kumar - avatar