find the last digit in the cube following number 32
Answers
Answered by
1
Answer:
Algorithm :
If b%4==0 that means b is completely divisible by 4, so our exponent now will be exp = 4 because by multiplying number 4 times, we get the last digit according to cycle table in above diagram.
If b%4!= ...
Now calculate ldigit = pow( last_digit_in_base, exp ).
Last digit of a^b will be ldigit%10.
Answered by
4
Answer:
32768 is cube of 32
Step-by-step explanation:
mark me brilliant
Similar questions