color 9
title mayor
echo ingrese un numero
set /p 1=
echo ingrese otro numero
set /p 2=
echo ingrese otro numero
set /p 3=
if %1%<%2% goto a
if %1%>%2% goto b
:a
if %2%<%3% goto a1
if %2%>%3% goto a2
:a1
echo el mayor numero es %3%
pause>nul
exit
:a2
echo el mayor numero es %2%
pause>nul
exit
:b
if %1%<%3% goto b1
if %1%>%3% goto b2
:b1
echo el mayor numero es %3%
pause>nul
exit
:b2
echo el mayor numero es %1%
pause>nul
exit