@echo off
color 0a
title Calculadora
:menu
cls
echo.
echo WELCOME
echo ------------------------------------
echo CHOOSE ONE OPTION:
echo.
echo ==============================
echo = 1. SUM ==
echo = 2. SUBTRATION ==
echo = 3. MULTIPLICATION ==
echo = 4. DIVISION ==
echo = 5. EXPONENTE ==
echo = 6. EXIT ==
echo ==============================
echo.
set /p ver= WHAT OPTION DO YOU CHOOSE??
if %ver%== 1 goto sum
if %ver%== 2 goto subtration
if %ver%== 3 goto multiplication
if %ver%== 4 goto division
if %ver%== 5 goto exponent
if %ver%== 6 goto exit
:sum
cls
echo.
echo FIRST NUMBER TO SUM:
set /p sum1=
cls
echo.
echo SECOND NUMBER TO SUM:
set /p sum2=
cls
set /a a= sum1+sum2
msg * YOUR SUM IS: %a%
goto menu
:subtration
cls
echo.
echo FIRST NUMBER TO SUBSTRATION:
set /p rest1=
cls
echo.
echo SECOND NUMBER TO SUBSTRATION:
set /p rest2=
cls
set /a b= rest1-rest2
msg * YOUR SUBSTRATION IS: %b%
goto menu
:multiplication
cls
echo.
echo FIRST NUMBER TO MAKE MULTIPLICATION:
set /p mult1=
cls
echo.
echo SENOND NUMBER TO MAKE MULTIPLICATION:
set /p mult2=
cls
set /a c= mult1*mult2
msg * YOUR MULTIPLICATION IS: %c%
goto menu
:division
cls
echo.
echo FIRST NUMBER TO MAKE DIVISION:
set /p div1=
cls
echo.
echo SECOND NUMBER TO MAKE DIVISION:
set /p div2=
cls
set /a d= div1/div2
msg * YOUR DIVISION IS: %d%
goto menu
:exponent
cls
echo.
echo FIRST NUMBER:
set /p exp1=
cls
echo.
echo SECOND NUMBER EXPONENT:
set /p exp2=
cls
set /a e= exp1^exp2
msg * YOUR RESULT IS: %e%
goto menu
:exit
msg * THANKS FOR USE MY PROGRAM
exit
En el comando que est subrayado no se porque no me funciona, gracias
intente poner lo mejor que pude el ingles :-)