Write a program in C++ that reads in a number m and prints a '*' on m consecutive lines, followed by m+1 '*'s on a single line. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a program in C++ that reads in a number m and prints a '*' on m consecutive lines, followed by m+1 '*'s on a single line.

23rd Jan 2022, 1:20 PM
Gurnish Kaur
1 Answer
0
Whats your try? Try yourself first, and post your attempt...
23rd Jan 2022, 2:44 PM
Jayakrishna 🇮🇳