+ 1
Creating a Palindrome number checking functions using sscanf.
I was creating a function which checks if a number is palindrome. I thought of 2 methods, one involving maths and other using sscanf. Can anyone help me with how should i Try to create it with sscanf?( I have included something I was trying before i got stumped., but i dont really need it to conform to this. Entirely New and better ways to integrate sscanf would be appreciated) https://code.sololearn.com/czEjFj9mjOc6
3 ответов
+ 2
Martin Taylor Thanks! That's a great solution
0
Martin Taylor here's another one I tried (haven't made it completely for odd and higher than 4 digit ) but couldn't make it universal for every number, your method saves the trouble