dabookerman Posted November 10, 2005 Posted November 10, 2005 hi, i got some questions to do regarding this but i find it hard to understand, has to be in by tomorow Question A Produce an algorithm in Pseudocode and a flowchart for finding the average mark for a given set of 10 marks. Question B Produce an algorithm in Pseudocode and a flowchart for converting a decimal number (base 10) into a binary number (base 2).
faz99 Posted November 10, 2005 Posted November 10, 2005 The average of ten numbers? Serious? I have done pseudo code, but i cant remember how im supposed to keep it, and i have to go to work in five minutes so i cant help you with the second one because it takes a little longer to explain. Add number 1 to a sum. Add number 2 to the sum. " " 3 " " ". ... ... Add number 10 to the sum. Divide the Sum by 10. Output the answer. Hm, i would need to look up how you strictly write pseudo code because i forget. It's just english anyway. http://en.wikipedia.org/wiki/Pseudo_code EDIT: Sorry cant help you with second one, no time.
Recommended Posts