Unit 1 Guided Practice 3: Writing A C Program From The Flowchart

teejreddy

 

Now, we're going to tie together the prior Guided Practice, where you drew out a program in Flowgorithm with the C Language.  You're going to write a C Program that translates your flowchart into code, and then compile it.

So, this flowchart:

will produce this output:

We accomplish that by entering code into the compiler.  

Please enter exactly this code into your  Dev C++ compiler.  Then compile and run.

After compiling, you should get the output shown indicated above.

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

 

    • 7 years ago
    • 2
    Answer(2)

    Purchase the answer to view it

    • FlowChartandCcode.zip

    Purchase the answer to view it

    NOT RATED