stifle code example
Example 1: stifle
public class APP {
public static void main(String [] args) {
String injured = "yes";
Scanner keyboard = new Scanner(System.in);
System.out.print("is the player injured?: ")
String k1 = keyboard.nextline();
if(k1.equals(injured)) {
System.out.println("injured, unavailable")
} else {
System.out.println("ready to play; available")
}
}
}
Example 2: stifle
//stifle joint