Microsoft Small Basic

Program Listing: LFC815
StartProgram:

TextWindow.Write ("Is the sprite perfect? Y/N >")
x = TextWindow.Read()
y = Text.ConvertToUpperCase (x)

If y = "Y" Then
Goto EndProgram
ElseIf y = "N" then
TextWindow.WriteLine ("Try harder!")
TextWindow.Read()
Goto StartProgram
Else
TextWindow.WriteLine ("That's not a valid answer.")
TextWindow.Read()
Goto StartProgram
EndIf

EndProgram:

TextWindow.WriteLine ("Your sprite is perfect!")
TextWindow.Read()