Challenge 10 Power of a number. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Challenge 10 Power of a number.

Write a code to input any number and display it as a power of a natural number. If it is not a power, display an appropriate message.

22nd Jul 2017, 3:37 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
9 Answers
+ 11
https://code.sololearn.com/cbw7gQD18LTv/?ref=app Did I understand the task right?
22nd Jul 2017, 4:16 PM
Tato
Tato - avatar
+ 11
I am getting addicted to your challenges... https://code.sololearn.com/Wwo8uLF2TCoq/?ref=app
22nd Jul 2017, 5:09 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 9
see my code soon👍👍👍
22nd Jul 2017, 4:00 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 7
Lol @Krishna, I'm also starting to like them. Here's my code. https://code.sololearn.com/cpTLujWNt8Zh/?ref=app
22nd Jul 2017, 6:22 PM
Garikai
Garikai - avatar
+ 5
https://code.sololearn.com/c89315Od298Z/?ref=app I'm still working on it edit : completed and fully functional check it out!
22nd Jul 2017, 5:07 PM
‎ ‏‏‎Anonymous Guy
+ 3
okay so I have to make a program which tests if the x input is power of any y no. or not? am I right?
22nd Jul 2017, 3:59 PM
_Retr0/-
_Retr0/- - avatar
+ 3
nomeh flash me
22nd Jul 2017, 4:11 PM
MR FLAVOUR
MR FLAVOUR - avatar
+ 2
awesome challenge keep challenging ...
22nd Jul 2017, 6:09 PM
‎ ‏‏‎Anonymous Guy
0
*** NEW DAILY CHALLENGE *** check it out !!! https://www.sololearn.com/discuss/567313/?ref=app
26th Jul 2017, 11:04 PM
Julian Fechner
Julian Fechner - avatar