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