# Individual prject 4 Solution

Individual Project 4

Write a script that reads a four-digit integer entered by the user in a prompt dialog and encrypt it as follows: Replace each digit by (the sum of that digit plus 7) modulus 10. Then swap the first digit with the fourth, and swap the second digit with the third. Then output HTML5 text that displays the encrypted integer.

Write a script that reads a four-digit integer entered by the user in a prompt dialog and encrypt it as follows: Replace each digit by (the sum of that digit plus 7) modulus 10. Then swap the first digit with the fourth, and swap the second digit with the third. Then output HTML5 text that displays the encrypted integer.

You'll get 1 file (711.0bytes)