so to calculate the algorithm, you need to change the power variable to the exponent variable (since that’s what you’re basing it from). and them multiply the total with the number. as well as assigning it to the total variable (multiply and assign).
to multiply variables in a code, you use this ( * ) key
Dear All Big Brains of the Discourse,
I appreciate the help, but it took me some time to admit that I still can’t comprehend what you mean at all… YET. Could you explain in simpler terms?
Sincerely,
NutDealer
There you should multiply number with himself for exponent times and you will get a number that it is in total.
For example, if number=2 and exponent=3, then total=222=8. Do you understand now?