Relco
10-11-2006, 08:54 AM
Hi, im new to java and could really need your help
I am trying to make a program where the user inputs a 4 digit integer.
And i want to encrypt this number by replacing each digit by the sum of that digit plus 7
And then swapping the 1st digit with the 3rd and the 2nd digit with the 4th.
Could someone please show me how i could go about with this?
Thanks!
I am trying to make a program where the user inputs a 4 digit integer.
And i want to encrypt this number by replacing each digit by the sum of that digit plus 7
And then swapping the 1st digit with the 3rd and the 2nd digit with the 4th.
Could someone please show me how i could go about with this?
Thanks!