Question #60041

Draw a flowchart that reads the names , sex and score of each student and outputs the names of the male students that scored above 75% and how many they are?
1

Expert's answer

2016-05-25T08:43:02-0400

Answer on Question #60041 – Math – Algorithms | Quantitative Methods

Question

Draw a flowchart that reads the names, sex and score of each student and outputs the names of the male students that scored above 75% and how many they are?

Solution

Let D(i,j)D(i,j) be an Input array i=1..3,j=1..Ni = 1..3, j = 1..N; where NN – length of data set, D(1,j)NameD(1,j) \coloneqq \text{Name}, D(2,j)s=Sex{1=male,0=female}D(2,j) \coloneqq s = \text{Sex} \in \{1 = \text{male}, 0 = \text{female}\}, D(3,j)sc=Score[0%,100%]D(3,j) \coloneqq sc = \text{Score} \in [0\%, 100\%] and Output: names of the male students NM(k),k=1..n,nNM(k), k = 1..n, n – number of the male students.

Then



www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS