a bit of help?
Hello, i know this is probably silly, but would someone be able to tell me why this code keeps erroring? and point towards the "+" sign in the compiler
public class test
public static void main (String args)
System.out.println("i want to create a program to seperate tens and units");
System.out.println("the number i am working with is ")+number;
+number should be inside the brackets...
You put it outside the parameter list, when it should have been inside.
System.out.println("The number I am working with is " + number);