Hi!
Do you hate it, that anybody can come, and read what you have written? Well, today I will show you a simple way, to make a scrambler! I have not worked out, how to make a de-scramler, but we will survive! Here is the CODE:
/*
* Made by pepluser
* pepluser.blogspot.com
*
*/
package testgui;
import java.util.Scanner;
/**
*
* @author Peter
*/
public class Testgui {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
char c1, c2, c3, c4;
System.out.print("Enter word to scramble: ");
c1 = sc.findInLine(".").charAt(0);
c2 = sc.findInLine(".").charAt(0);
c3 = sc.findInLine(".").charAt(0);
c4 = sc.findInLine(".").charAt(0);
System.out.println(c3 + " " + c1 + " " + c4 + " " + c2);
}
}
Well, it should work, i hope you have fun, and you can modify it, and add stuff! See You! :)