Write a program to calculate average of numbers 123.5,880,719.5
Answers
Answered by
0
STEP 1: START
STEP 2: DEFINE n.
STEP 3: SET count = 1
STEP 4: DEFINE xF, averageF
STEP 5: SET sumF = 0
STEP 6: ENTER n
STEP 7: REPEAT
STEP 8 to 10 UNTIL count<=nSTEP 8: Enter xF
STEP 9: sumF += x
FSETP 10: count = count + 1
SETP 11: SET averageF = sumF/(n-1)
STEP 12: PRINT averageFSTEP 13: END
Similar questions
India Languages,
17 days ago
Social Sciences,
9 months ago