Asked by James
calculate the sum of squares of given input of numbers flowchart
Answers
Answered by
mora
just need it
Answered by
J
Step 1: Read N.Step 2 : Let ctr = 0 sum = 0.Step 3: Read Num.Step 4 : ctr = ctr + 1.Step 5: Compute the square of the number i.e. = sqr Num * Num.Step 6 : sum = sum * sqr.Step 7: If ctr is less than N then repeat steps 3 to 6. Step 8: Print sum.Step 9: End.
Answered by
E
Replying the first answer: Read N? Read Num? From where?
Step 5 is the most confusing of the steps in your algorithm.
Are N and Num the same variables?
You didnt start with a value sqr
Step 6 youre computing sum*sqr
Either be clear with your algorithm or dont come online and post confusing processes
Step 5 is the most confusing of the steps in your algorithm.
Are N and Num the same variables?
You didnt start with a value sqr
Step 6 youre computing sum*sqr
Either be clear with your algorithm or dont come online and post confusing processes
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.