Why not just put "$" + input
System.out.println("$ " + input);
If 100is entered then the output would be $ 100
Type: Posts; User: JoeBrown
Why not just put "$" + input
System.out.println("$ " + input);
If 100is entered then the output would be $ 100