A company wants to transmit data over the telephone, but it is concerned that its phones may be tapped. All of its data is transmitted as four-digit integers. It has asked you to write a program that will encrypt its data so that the data may be transmitted more securely. Your script should read 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 third, and swap the second digit with the fourth. Then output XHTML text that displays the encrypted integer.
2 29084Post New MMM Engineering AllOther Interview Questions
How to add review list on product page of magento?
What is ojvm used for?
What is the default page size of buffer pools?
What is procedural api?
Can any tell me ECC 5.0, ECC 6.0 Released year? and difference between them?
How are composite and multiple indexes different?
Which functions are used as preferences over state history? a) Award b) Reward c) Explicit d) Implicit
Have you ever had to bend the rules to get the job done. Why was that?
Difference between maven project and module?
which is a best practice for creating effective ad text?
How do I remove table formatting?
What is thread safe java?
Explain cdn in jquery?
What is lazy loading angularjs?
Define what is error handling and define how do you do error handling?