+ 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
11 Antworten
+ 2
Nathan you r right
+ 2
Yes its right Abhimanyu well doing....
+ 1
i think 22 is the last and only spy number
+ 1
but you need to check if the given no is SPY or not anyway this is right
+ 1
+ 1
I came across Kotlin so here is my attempt in kotlin
https://code.sololearn.com/c7HZXKkYna1h/?ref=app
0
https://code.sololearn.com/cUZSliTC53wZ/?ref=app
https://code.sololearn.com/czbSxyXXS3w5/?ref=app
0
@Vanshaj OK, I added the Check Version too.
0
Nevfy:- Try to do it without using inbuilt functions