Home > Back-end >  java
java

Time:01-25

Java: using arrays, write a digital encryption program,
1, first of all, the keyboard a four positive integers, decomposition, ladies and gentlemen, the sequence input array, such as: keyboard input 1234, then input array value is: 4321;
2, then add 5 each figures and divide in 10 modulo;
3, then, the four digital bits and switch 10, one hundred and one thousand - bit reversal;
4, finally, the output order these four digits,