You are on page 1of 2

1) pseudocod:

declare suma = 0
declare n

read n

for i is smaller or = to n:

increment i
add i to suma

display suma

2.a)

2.a)
2.b)

You might also like