I was a little confused on this one but this is what I came up with: Declare count as integer Declare sum as real Declare price as real Declare x as real Declare y as real Declare z as real set count = 0 set sum = 0 write "enter home price, enter 0 when complete." input price while price <> 0 do count = count + 1 sum = sum + price n(count) = price write "enter home price, enter 0 when complete." input price end while if count = 0 then

This is the end of the preview.
Sign up
to
access the rest of the document.