12 lines
131 B
Batchfile
12 lines
131 B
Batchfile
@echo off
|
|
setlocal
|
|
set /p i=Insert number:
|
|
|
|
::bitwise and
|
|
set /a "test1=%i%&1"
|
|
|
|
::modulo
|
|
set /a test2=%i% %% 2
|
|
|
|
set test
|
|
pause>nul
|