Unit 2 Guided Practice 4: Use “Do … While” Loop

Category: Computer Science

 

This is a different kind of loop, where the loop condition is tested at the end, rather than the beginning.  So, the loop always runs at least once.  This is similar to another Guided Practice.  However, there is no input statement before you enter the loop.

Here’s the Flowchart:

And here is the code:

And here is the output:

Now, type the code into your compiler and run it. (No Flowchart this time.)

Upload your .c file and a screen shot of your code output saved in a Word document including the path name directory at the top of the screen into the dropbox for grading.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Pay Someone To Write Essay