Question: java Question 1 - Password Encryption (4 pts) Write a complete program that ask the user prompt a number with 6 digits and output the

 java Question 1 - Password Encryption (4 pts) Write a completejava

Question 1 - Password Encryption (4 pts) Write a complete program that ask the user prompt a number with 6 digits and output the encrypted password Your program should behave as follow: 1. Display a welcome message. 2. Ask the user for the input number 3. Use a constant variables to store the value 10 in the program. 4. Display the encrypted number, which is equivalent at by +) Swap the 1" and 6th digits 2) Replace the second digit with the remainder of the second digit divided by 2. 3) Add 1 to the third digit of your input. 4) Replace the fourth digit with the remainder of the third digit divided by 3. 5) Swap the 4th and 5th digits. 5. Display a farewell message, so that the user knows that the program has terminated normally

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!