http://img686.imageshack.us/img686/3380/hw1.jpg

Okay so I got homework from my IT programming. I am completely oblivious in programming so I need a bit of help getting me into the right direction. Here is the question to understand my flowchart:

Above is the link to my flowchart.

Consider N students receiving the marks x1,x2,....,xN . Develop an Algorithm to compute the mean mark for male students that achieved a score lower than that of all female students. The marks are supplied one at a time along with the gender information. Specify the Algorithm using both pseudo-code and a flowchart.