Encryption Achieved Operations Numberical Values Example First Digit Swapped Last One Mid Q12148895
Encryption can be achieved with operations on numberical values.For example, the first digit can be swapped with last one. The middidgit(s) will remain the same, while the other part of the numbercould be rotated to the right. x=123456789 –> x= 923456781–> xfinal= 942358671.
Write a C program to input one signle number (multidigits) thenuse an array to carry out the encryption process and show the finalresult.