Please write in C++
Prompt the user to enter an integer. Print a pattern similar tothe following:
1
212
32123
212
1
The user's integer should always be the first value on themiddle row (so the example above is for the input 3). The outputshould be neatly formatted in a "diamond" pattern.
Please write in C++ Prompt the user to enter an integer. Print a pattern similar to the following: 1 212 32123 212 1 The
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am