Question: Write a java program that reads an integer and generates a PIN number so that the sum of all digits is a multiple of 10.

Write a java program that reads an integer and generates a PIN number so that the sum of all digits is a multiple of 10. Enter an integer: 123 The PIN of 123 is 1234 {1+2+3+4=10) Enter an integer: 4512 The PIN of 4512 is 45128 (sum=20) Enter an integer: 55 The PIN of 55 is 550
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
