AppsPowerPowerak( mod n)a^k \left( \bmod n \right)ak(modn)Enter aaa:Enter kkk:Enter nnn:Compute ak(modn)a^k \pmod{n}ak(modn)