Make a C++ program that will print the output on the screen using do while loop. (NOTE: There are no spaces in between rows)
#include <iostream>
using namespace std;
int main()
{
int i=0;
do{
i++;
cout<<"Hello World"<<endl;
} while(i<10);
return 0;
}
Comments
Leave a comment