it's spelled "ass" not "arse". Get your spelling correct.
Type: Posts; User: namenamename
it's spelled "ass" not "arse". Get your spelling correct.
I just want a SIMPLE input validation loop
can you show me exactly how to do it?
import java.util.*;
class rps{
public static void main(String args[]){
Random number = new Random();
Scanner input = new Scanner(System.in);
// player chooses
String choice;
so let''s say I have a rock paper scissors program and I want the user to enter ONLY rock, paper and scissors. If the user enters anything else, the program would display an error message and ask the...