Alright so basically, I was attempting to encrypt a 4 digit integer by adding 7 to every integer and once it reaches 10, it should basically go to 1 instead
and then I have to switch the 1st integer with the 3rd and the 2nd with the 4th
i got it all to work except I can't seem to make 10 go to 1 and restart the count
here what I came up with so far
Please Login or Register to view this content.
Bookmarks