Solution to Make a C++ program using do while loops that will print this output: * ** … - Sikademy
Author Image

Archangel Macsika

Make a C++ program using do while loops that will print this output: * ** *** **** *****

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question


#include <iostream> using namespace std; int main() { for (int i = 1; i <= 5; i++) { for (int j = 0; j < i; j++) { cout << "*"; } cout << "\n"; } return 0; }

Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-3-stid-44-sqid-1110-qpid-106