I'm a fairly new user of java and am hitting trouble trying to get the £ sign to work in my program.
I'm only trying to out put it to the user:
However when I run the program the £ sign is being shown as a ú instead.Code:
System.out.println("To travel from Leicester to Loughborough it will cost £2.50");
How can I get it to show the £ sign in the program?Quote:
To travel from Leicester to Loughborough it will cost ú2.50