So in this section of my program I'm trying to make the program re-ask for input from the user.
The problem is that is says the int have already been declared. But how do I get the input for the question again?
Scanner keyboard = new Scanner(System.in);
System.out.println("Please enter possible and actual points for participation: ");
int pparticipation = keyboard.nextInt();
int aparticipation = keyboard.nextInt();
while (aparticipation > pparticipation || pparticipation < 0){
System.out.println("Please enter possible and actual points for participation: ");
int pparticipation = keyboard.nextInt();
int aparticipation = keyboard.nextInt();
}