Challenge: Printing C++

Test your problem-solving skills in this challenging C++ printing exercise.

Print C++ using nested loops

In this lesson, we have a printing C++ challenge for you.

Challenge

Your code should print the following shape based on a parameter x.

Get hands-on with 1200+ tech skills courses.