|
public class QTest {
public static void main (String [] args) throws Exception {
int count = 0;
System.out.println ("Please input characters, if character is 'q', quit!");
count = System.in.read ();
while ('q'! = (char) count) {
System.out.println ((char) count);
}
}
}
Why can't I stop, depressed! |
|