+ 3

Challenge : Circular Number

A circular number is any number whose powers end on the same figure as it does itself. Circular numbers are numbers ending in 0, 1, 5, or 6.   Write a code that Outputs all Numbers that meet the definition for a given range. Example : if input = 12 output = 0, 1, 5, 6, 10, 11

30th Sep 2017, 2:48 AM
Binyam Equar
Binyam Equar - avatar
6 Respuestas
30th Sep 2017, 5:53 AM
Kartikey Sahu
Kartikey Sahu - avatar
30th Sep 2017, 6:41 AM
David Ashton
David Ashton - avatar
+ 4
✔ (I just made it so the number you entered is the amount of circular numbers printed instead) https://code.sololearn.com/ci33YURr4oZa/?ref=app
30th Sep 2017, 3:51 AM
Rrestoring faith
Rrestoring faith - avatar
30th Sep 2017, 5:01 AM
Binyam Equar
Binyam Equar - avatar
+ 3
coming
26th Oct 2017, 12:38 PM
SAKSHI
SAKSHI - avatar
30th Sep 2017, 6:07 AM
sayan chandra
sayan chandra - avatar