Write a program3

Chapter 3:

Write an encryption and decryption program.  Encrypt each digit by adding 7 and taking the remainder after division by 10.  After encrypting each digit, swap the first and third then swap the second and fourth. Decryption should reverse the process. Program must input a single integer.  Program must do encode and decode in one file.

               Example Program Session (yours must look like this):

Encode (1) Decode (2): 1
Enter a four digit number: 1234
Encoded Digits: 0189
Continue (1) Exit (0): 1
Encode (1) Decode (2): 2
Enter a four digit number: 0189
Decoded Digits: 1234
Continue (1) Exit (0): 0





<<<<







Visual Studio Community is what you should be using

Start with a new blank C++ project.You should submit a C++ file.  ".cpp".