Can someoone tell me if the syntax is correct for my StdIn statement? I want to use it to drive the while loop below. The StdIn statement needs two values Hit or Stand (See StdOut statement. Thanks.
public static String[] player(String[] deck) {
StdOut.println("Hit or Stand?");
String status = StdIn.readString("Hit";"Stand");
int playersHand = 0;
String[] player = new String[playersHand];
while(status == Hit){
for(int card=0; card<deck.length; card++) {
}
}
}
}