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

C++ pattern

print this pattern using C++ 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1 thanks 🙏

27th Sep 2017, 9:13 PM
Guy Anonymous
Guy Anonymous - avatar
3 Answers
+ 4
Eheheheh it's simple XD: cout << " 1 " << endl; cout << " 121 " << endl; cout << " 12321 " << endl; cout << "1234321" << endl; cout << " 12321 " << endl; cout << " 121 " << endl; cout << " 1 " << endl;
27th Sep 2017, 9:57 PM
Andrea Simone Costa
Andrea Simone Costa - avatar
0
😶😶 using loop
28th Sep 2017, 2:01 AM
Guy Anonymous
Guy Anonymous - avatar
21st Jul 2020, 12:52 AM
shubham kumar
shubham kumar - avatar