computer programming

thastunna

 

Convert the following to a do/while loop. It should produce exactly the same output.

 

#include

 

int main(){

 

int i=0, k=0;

 

float j=0;

 

int counter = 10;

 

printf("Begin counting");

 

for (i=0; i < counter; i++) {

 

printf(i);

 

}

 

return 0;

 

}

    • 10 years ago
    • 5
    Answer(3)

    Purchase the answer to view it

    NOT RATED

      Purchase the answer to view it

      NOT RATED
      • include.docx

      Purchase the answer to view it

      NOT RATED
      • dowhile.doc
      Bids(1)