I want to create a data entry program but don't know how to start it. I need help.
BrandonGreen5 (1)

mport java.util.Scanner;

class Input {
public static void main(String[] args) {

Scanner input = new Scanner(System.in);

System.out.print("Enter an integer: ");
int number = input.nextInt();
System.out.println("You entered " + number);


You are viewing a single comment. View All
mwilki7 (993)

You almost had it. Repl environments run on linux machines so stuff like
won't work.

Check out this repl: https://repl.it/@mwilki7/DHLDataEntryLogin
I just added a couple lines of code so it's compatible with linux, you did just about everything else correct.