Question
Write an algorithm then create a flowchart which will read and print
the names and individual scores of 100 students for a particular
examination. You need also to determine their average score, and
display or print it out.
the names and individual scores of 100 students for a particular
examination. You need also to determine their average score, and
display or print it out.
Answers
𝖔𝖔𝖇𝖑𝖊𝖈𝖐
sum=0
for i=1..100
read name[i],score[i]
print name[i],score[i]
sum += score[i]
next i
avg = sum/100
print avg
for i=1..100
read name[i],score[i]
print name[i],score[i]
sum += score[i]
next i
avg = sum/100
print avg