Question: Write an algorithm (flowchart OR Pseudocode) for the following problems: 1. Take ten different numbers as input and display the sum of there squares
Write an algorithm (flowchart OR Pseudocode) for the following problems: 1. Take ten different numbers as input and display the sum of there squares (SS). Example: let the inputs are: 3, 0, -1, 0, 9, -5, 6, 0, 2, 1 then 157 is displayed, because: SS=3+0+ (-1)+0 +92 +(-5)2 +6 +0 +2+1=157
Step by Step Solution
3.54 Rating (151 Votes )
There are 3 Steps involved in it
Heres a pseudocode algorithm to solve the problem 1 Initialize a variable sumofsquares to 0 2 Repe... View full answer
Get step-by-step solutions from verified subject matter experts
