Computer Science, asked by rishikamalani83, 9 months ago

Write an algorithm and draw a flow chart to find a sum of Sum of squared natural numbers
from 1 to loo​

Answers

Answered by luisecubero77
0

Answer:

I used Pseint

Explanation:

Algoritmo sumsum

cont,sum Son Enteros

cont=1

sum=0

mientras cont<=100

 imprimir cont^2," " Sin Saltar

 sum=sum+cont^2

 cont=cont+1

FinMientras

imprimir ""

imprimir "La suma es: ",sum

FinAlgoritmo

Algorithm  Sumsum

cont, sum are Integers

cont = 1

sum = 0

while cont <= 100

print cont ^ 2, "" without skipping

sum = sum + cont ^ 2

cont = cont + 1

End while

print ""

print "The sum is:", sum

End Algorithm

Attachments:
Similar questions