0

So wats problem in it just swap the digits....that the encrypted one.....and then again swap it back to decrypt

just convert the integer to strint using itoa() function, and then you can easly swape the digit-character. and then conver the this encrypted string back to integer using atoi() function. Visa-versa with decryption.

You

This article has been dead for over six months: Start a new discussion instead