AnimalGame.java 821 Bytes
import static java.io.IO.*;

import java.util.Random;

// def play_animal_game():
void play_animal_game() {
    // choices = ['cow', 'dog', 'horse', 'cat', 'bird']
    // choice = choices[random.randInt(0, len(choices))]
    // animal = input("Which animal am I thinking of between " + ", ".join(choices) + "? ")
    // if animal == choice:
        // print("Yes! It was " + choice + "!")
    // else:
        // print("No! It was " + choice + "!");
}


/*
def play_until_exit():
    again = True
    while again:
        play_animal_game()
        again = input("Would you like to play again (y/n)? ")
        if again.lower().startswith("n"):
            print("Goodbye!")
            again = False
 */
 void play_until_exit() {

 }
 
 double play_5_times() {
    return 0.0;
}

 void main() {
    play_until_exit();
}