0
:menu
echo 1) start
echo 2) intro
echo 3) exit
set /p menu=

if %menu% == 1 goto game
if %menu% == 2 goto help
if %menu% == 3 exit

:help
cls
echo hit the correct answer and press enter.
pause

:game
echo what is your name?
set /p name=
echo hello %name%!
pause
cls
echo who was the first president of the USA?
echo 1) George Washington
echo 2) Pierre Desperau
set /p ab=

if %ab% == 1 goto cr1
if %ab% == 2 goto wr1

:cr1
echo correct
pause
goto menu

:wr1
echo wrong
pause
goto game
cls
1
Contributor
0
Replies
6
Views
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.