Answer to Question #178718 in C++ for paul

Question #178718

Make a C++ program that will print the output on the screen using do while loop


1
Expert's answer
2021-04-06T15:32:08-0400
#include <iostream>

int main() {
    int i = 0;

    do {
        std::cout << i << std::endl;
        i++;
    }
    while (i < 10);

    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