K
K
kidmasaomiyt2020-06-22 21:13:16
Pascal
kidmasaomiyt, 2020-06-22 21:13:16

How can such a problem be solved with loops and a counter?

7oviv1ebgAY.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2020-06-22
@kidmasaomiyt

Store the current degree in a separate variable and multiply this variable by A at each iteration. Then add it to the total.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question