Answer to Question #178719 in C++ for paul

Question #178719

Make a C++ program that will print the output on the screen using do while loop. (NOTE: There are no spaces in between rows)


1
Expert's answer
2021-04-07T12:30:11-0400
#include <iostream>
using namespace std;
int main (){
	int i=0;
	do{
		cout<<"i = "<<i<<"\n";
		i++;
	}while(i<5);
	

	return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS