Sunday, 20 March 2011

Paper 1- Pseudocode

procedure Mean.
number of marks=0
total=0
Do while You're still got marks
Get mark
Number of Marks=Number of marks+1
Total= Total+mark
End while
Average= total/numbermarks
End

No comments:

Post a Comment