I'll show you how to print a simple pattern using C++. Your task is to print a triangle made of stars, where the first line has one star, the second has two, and so on until the fifth line has five stars.
This is perfect for learning basic output. You'll use cout to print characters to the screen. Think of cout as the way your program talks to you. Each time you write cout, you're telling the computer to display something.
The pattern looks like this: Line 1 has *, line 2 has **, line 3 has ***, line 4 has ****, and line 5 has *****. You'll need to repeat the printing action for each line.