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 27289Post New MMM Engineering AllOther Interview Questions
What is planned maintenance?
How is the growth of the bank since it opened?
How people management is achieved using Oracle HRMS?
what are the important infotypes in sap personnel administration?
What is the purpose of scenario manager in excel?
Compare ansible vs puppet?
Write a code snippet to launch chrome browser in webdriver.
What is the function of Profit center in Material master and how will system react when it finds Profit center in MM/when it does not find Profit center in MM? Plz answer for both the scenarios?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
How many types of faults are there in 3 phase power system?
How the exception handling can be done using quicktest professional (qtp)?
Explain what is protection boundary?
What is the function of the clone stamp tool in photoshop?
What does numeric pyramid represent?
What is the pipe command?