Posted by **alberto** on Monday, July 14, 2008 at 10:41pm.

how would i be able to write a function module for average from this pseudo-code and then use it to write an algorithm.

Sum integer

Num integer

Count integer

Count:= 0

Sum:=0

Dowhile count <3

Println “Enter Num: ”

Read Num

Sum := Sum + Num

Count:= count + 1

ENDDO

Println “average = ”, Sum/Count

## Answer This Question

## Related Questions

- algorithm - can someone tell me if this is correct. Write an algorithm that will...
- pseudocode programming - need help to write a sumsquare function module and then...
- Computer Programming - I was wondering if someone could review my pseudocode to ...
- Programming - Declare Integer count For count=1 to 3 Step 2 Display count End ...
- Computer Science/Pseudo Code Python - Hi, I'm confused about an assignment. I'm ...
- 7th grade math - The sum of an integer and the next greater integer is at the ...
- Prealgebra - The sum of an integer and the next greater integer is at most 15. ...
- Algebra - A.Write and solve an equation to find three consecutive integers with ...
- Algebra - A.Write and solve an equation to find three consecutive integers with ...
- cis - I have to find three errors and ther two logic and syntax error. HELP ME ...

More Related Questions