Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Flowchart

START

Input a list of numbers

Set sum to 0

For each number in the list

Calculate the square of the number

Add the square to sum

Print the value of sum

END

pseudocode

Algorithm to calculate the sum of squares of given input of numbers:

1. Input a list of numbers

2. Set sum to 0

3. For each number in the list

a. Calculate the square of the number

b. Add the square to sum

4. Print the value of sum

You might also like