Wednesday, 28 November 2012

Calculations On Command Prompt

Command prompt can be used as a mini Calculator. You can perform simple arithmetic operation on command prompt.
To use command prompt as a mini calculator first open the command prompt and type following command:
C:\>set /a 2+2
4
C:\>set /a 2*(9/2)
8
C:\>set /a (2*9)/2
9
C:\>set /a "31>>2"
7
For more information, type set /? at the command prompt.

No comments:

Post a Comment