gBASIC. `help` for prompt commands, `quit` to leave.
> ' the animal game
> print("Welcome to the animal game.")
Welcome to the animal game.
> name = input("What is your name? ")
What is your name? Ada
> age{number}= input("How old are you? ")
How old are you? 37
> colour = input("What is your favourite colour? ")
What is your favourite colour? blue
> print("Hello, " + name + "!")
Hello, Ada!
> print("Next year you will be " + string(age + 1) + ".")
Next year you will be 38.
> print("I will remember that you like " + colour + ".")
I will remember that you like blue.
> run
Welcome to the animal game.
What is your name? Ada
How old are you? 37
What is your favourite colour? blue
Hello, Ada!
Next year you will be 38.
I will remember that you like blue.
> quit
Your program was not saved; `recover` will bring it back next time.
