Question
A university has 3000 students.These students are divided in four categories
1.B Tech
2.M Tech
3.Ms
4.Phd
Draw a flowchart & algorithm to find percentage of the students in each category
1.B Tech
2.M Tech
3.Ms
4.Phd
Draw a flowchart & algorithm to find percentage of the students in each category
Answers
sum=0
for i = 1..4 {sum += cat[i]}
for i = 1..4 {pct[i] = cat[i]/sum * 100}
for i = 1..4 {sum += cat[i]}
for i = 1..4 {pct[i] = cat[i]/sum * 100}
Related Questions
a university has 4000 students these students are divided into four categories btech,mtech,ms,phd 31...
11% of Ivy Tech students are dual credit students. If there are 13,909 dual credit students, how man...
Looking ahead to future classes in AV Tech, I would suggest incorporating more opportunities for col...
Imani works on computer systems and telecommunication devices that are used to manage and send infor...