I just started to code in CMD and came with this problem! How can you print the answers with variables plus variables? Or is this a silly mistake?
file_1.bat
Title will be the called the Basic Arithmetic
title Basic Arithmetic
The main part of my code:
set /p first= First Number:
set /p sec= Second Number:
set /a ans=first+sec
To prevent the CMD closing after the answer has printed out!
set /p z= Finish!