by input the value of variable is not changing, but on next iteration , its show the previous input value.
set /a firstNum=0
set /a secondNum=0
:while
if %firstNum% NEQ -99 (
set /p firstNum="Enter first number"
echo first number is %firstNum%
)
if %secondNum% NEQ -99 (
:2input
set /p secondNum="Enter second Numer"
echo second number is %secondNum%
if %secondNum% == 0 ( goto :2input )
)
goto :while