Make Calculations with Command Prompt (CMD)
First go to Start >
Click on RUN>
Type here CMD then ENTER
After open command processor CMD.EXE use following commands that can perform simple arithmetic on 32-bit signed integers:
C:\>set /a 2+2
4
C:\>set /a 5-2
3
C:\>set /a 3*3
9
C:\>set /a 4*5/2
10
Note that we had to quote the shift operator since it would otherwise be misinterpreted as a "redirect stdout and append" operator.
For more information, type set /? at the command prompt.
Post a Comment
Please write here your valuable comment.