+ 3

Check a number if it's a SPY or not

a SPY number is one in which sum of digit is equal to product of digits

21st Feb 2018, 1:17 PM
Vanshaj Jagatramka
Vanshaj Jagatramka - avatar
11 Antworten
+ 2
Nathan you r right
21st Feb 2018, 1:40 PM
Vanshaj Jagatramka
Vanshaj Jagatramka - avatar
21st Feb 2018, 1:45 PM
Vanshaj Jagatramka
Vanshaj Jagatramka - avatar
+ 2
Yes its right Abhimanyu well doing....
23rd Feb 2018, 5:30 PM
Vanshaj Jagatramka
Vanshaj Jagatramka - avatar
+ 1
i think 22 is the last and only spy number
21st Feb 2018, 1:38 PM
‎ ‏‏‎Anonymous Guy
+ 1
but you need to check if the given no is SPY or not anyway this is right
23rd Feb 2018, 8:29 AM
Vanshaj Jagatramka
Vanshaj Jagatramka - avatar
10th Apr 2018, 4:29 AM
Nevfy
+ 1
I came across Kotlin so here is my attempt in kotlin https://code.sololearn.com/c7HZXKkYna1h/?ref=app
15th May 2018, 2:00 PM
Hamid
Hamid - avatar
0
https://code.sololearn.com/cUZSliTC53wZ/?ref=app https://code.sololearn.com/czbSxyXXS3w5/?ref=app
23rd Feb 2018, 6:39 AM
Abhimanyu Gupta
Abhimanyu Gupta - avatar
0
@Vanshaj OK, I added the Check Version too.
23rd Feb 2018, 10:28 AM
Abhimanyu Gupta
Abhimanyu Gupta - avatar
0
Nevfy:- Try to do it without using inbuilt functions
15th May 2018, 6:09 PM
Vanshaj Jagatramka
Vanshaj Jagatramka - avatar