Programming

profileAdejoke
CIS1261.9performanceassessment.docx

1.9 Performance AssessmentFlowchart and Decision

In this assessment, you will create a flowchart and C code for a program that computes the average of 3 grades.  If the grade is greater than 65 display, a message that the student has passed.

Instructions

Follow these instructions to complete your assignment:

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

·

· Declare variables with integer or float datatypes.

· Assign the values of three grades (84, 98, 73) to each of the variables

· Compute the average of the grades – keep the order of operations in mind

· Display the average using an appropriate message

· Add a decision that checks to see if the Average grade is greater than 65, if true display a message that the student passed.

· Be sure to add comments throughout your program describing what is happening

    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

Here is what the program output looks like when it's executed:

Text  Description automatically generated

image1.png