Tuesday
March 31, 2015

Homework Help: progra

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

First Name:
School Subject:
Answer:

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 ...
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 ...
Algebra - The sum of two consecutive even integers is 118. A. Define a variable ...
Algebra - The sum of two consecutive odd integers is 56. A. Define a variable ...

Members