Jump to content

function module

- - - - -

  • Please log in to reply
No replies to this topic

#1
alberto

alberto

    Newbie

  • Members
  • Pip
  • 1 posts
need help to write a sumsquare function module and then rewrite that fuction module into an algorithm from this pseudocode.

count integer
square integer
sumsquare integer
count = 0
square = 1
do while count <= 2
count = count + 1
sumsquare = sumsquare + square
end do

this is not home work or stuff like that, this is a class work which i probably wont get an answer for any time soon.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users