Hello everyone. I am learning C from a book and currently doing basic encryption assignment. The assignment calls to encrypt a four digit integer. To encrypt the integer the following steps must be taken: replace each digit with a result of adding 7 to the digit and getting a remainder after dividing new digit by 10. Then swap first digit with third and second digit with fourth. I am a little confused how I will be able to swap the digits. To solve the first part I would just break up the number into digit and do arithmetic manipulation. What should I do about swapping the digits? When I break up the number I guess I could store each digit in a separate variable where later I would be able to then swap them out. How would you handle it ? Just looking for suggestions. I should mention that so far in a course work I've only covered while loop, and if, else if statements and can only use what I have learned so far to solve this problem. Thanks for your time.