Sunday
December 21, 2014

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

pseudocode programming - need help to write a sumsquare function module and then...
algorithm - can someone tell me if this is correct. Write an algorithm that will...
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 ...
Computer programming - The code below is supposed to calculate the average for a...
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 ...
C programming - Question: Write a program that reads integers from the keyboard ...
Programming - Write a function that takes one positive integer value (call it n...

Search
Members