codedamn

Reverse a Number

Created by Kshitij about a year ago

0

No description provided

1 Comment

    0

    what is the issue in the below code? function reverseDigit(uint n) public returns(uint){ uint k=n; uint l=0; do{ l=l*10+(k%10); k/=10; }while(k>0); return l; }

     I have tested in remix ide and it is working fine
    
    @ayushmn712

    ayush anand

    @ayushmn712

Your comment