System.out.println("You are currently at " + n);
I just want to color the 'n' in the output, n is an int which is already initialized. Is there a way to do it?
System.out.println("You are currently at " + n);
I just want to color the 'n' in the output, n is an int which is already initialized. Is there a way to do it?
Search around for "color control characters". Here's one link: http://www.linuxgazette.net/issue65/padala.html