how to make yes no question in bat scrip script

C++
@echo off

echo Are you a programmer?

choice
IF ERRORLEVEL 2 goto No
IF ERRORLEVEL 1 GOTO Yes

:Yes
echo You are a programmer! :)

timeout 5
exit

:No
echo you are not a programmer! :(

timeout 5
exit
Source

Also in C++: