I am working on a program and I want to allow a user to enter multiple integers when prompted. I have tried to use a scanner but I found that it only stores the first intege
This works fine ....
int a = nextInt(); int b = nextInt(); int c = nextInt();
int a = nextInt();
int b = nextInt();
int c = nextInt();
Or you can read them in a loop