+ 1
How to write do while loop from 10 - 100
4 Antworten
+ 15
#include <iostream>
using namespace std;
 
int main () {
   // Local variable declaration:
   int a = 10;
   // do loop execution
   do {
      cout << a << endl;
      a = a + 1;
   }while( a <= 100 );
 
   return 0;
}
+ 4
?
+ 4
are you asking to print the numbers 10 - 100? using a do while loop?
please be more specific next time
+ 1
yh print out 10 - 100 using do while loop





