Draw a flowchart to find the sum and average of 5 numbers.
Answers
Answered by
31
Answer:
STEP 1 START.
STEP 2 INPUT X,Y,Z.
STEP 3 COMPUTE SUM = X + Y + Z.
STEP 4 COMPUTE AVG = SUM/3.
STEP 5 PRINT SUM.
STEP 6 PRINT AVG.
STEP 7 END.
Explanation:
Answered by
11
Draw a flowchart to find the sum and average of 5 numbers :
Step 1 ⇒ Start
Step 2 ⇒ Get five Integer values.
Step 3 ⇒ Add together the values of five integers.
Step 4 ⇒ Add new values to the variable.
Step 5 ⇒ Calculate the sum and average of given integer values.
Step 6 ⇒ Print Sum value
Step 7 ⇒ Make a print of the average value.
Step 8 ⇒ Stop
Attachments:
Similar questions