Programming

profileAdejoke
2.8PerformanceAssessment.docx

2.8 Performance AssessmentUsing For() Loops

In this assessment, you will create a program that totals the numbers between 100 and 200 and displays the final total. You will design a flowchart and develop the C code for a program.  

 

Instructions

Follow these instructions to complete your assignment:

1. Write a flowchart and C code for a program that does the following:

· Use a for() loop, starting at 100 and ending at 200 - note: there is no user input with this program.

· Use an accumulating total statement to keep a running total of the numbers between 100 and 200

· Display the grand total of the values added together

     2. Submit one Word document which contains:

·

·  A screenshot of your code

· A screenshot of your output including the Title Bar of the console window.

     3. Submit the “.c” code file, which should include a comment line with your name and the date.   You should NOT save your file with a .cpp file extension.

     4. Submit the Flowgorithm (.fprg) file.

Review the output below to check your work!

Output

Graphical user interface, text  Description automatically generated

image1.png