computer programming

profilethastunna

 

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

    blurred-text
    NOT RATED

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      include.docx

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      dowhile.doc
    Bids(1)