Question #178717

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


Expert's answer

#include <iostream>


using namespace std;


int main()
{
    int i=0;
    do{
        i++;
    cout<<"Hello World"<<endl;
    } while(i<10);
    return 0;
}
LATEST TUTORIALS
APPROVED BY CLIENTS