I don't want to break the line so I used System.out.print(">>"); but I can't put int (int number = scan.nextInt(); ) inside it and I can't also make System.out.print("<<"); in the same line as the int.
I would like it to run like this: >> 123 <<
System.out.println(" Enter Number ");
System.out.print(" > ");
int number = sc.nextInt();
System.out.print(" < ");
// like this > 123 <