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 27205Post New MMM Interview Questions
Tell me how many moons does saturn have?
How does a classifier work?
What were vacuum tubes used for?
Explain whats the difference between siebel 7.5 and 7.8? If we upgarde the application to 7.8 from 7.5 what are the areas we need to give importance from qa(testing) point of view?
What is seq in scala collection?
What services use iis?
how will you mount an ntfs partition in linux?
Tell me when does the condition 'rendezvous' arise?
How do I save a stored procedure?
How do we create an agent?
on which basis safety valves are set with particular pressures?
What is public void in c#?
How can you secure your introduction in powerpoint?
Why jdbc is used in java?
What is the difference between host and server?