Sunday, 27 November 2016

Cmd Calculator

 @echo off
title Calc
:loop
cls
set /p first=First number: 
echo.
echo Mark ( + - * / )
set /p mark=Mark: 
echo.
set /p second=Second number: 
set /a final=%first%%mark%%second%
echo.
echo %final%
pause
goto loop



Save it as learnfromzero.bat
Share:

0 comments:

Post a Comment