common 当前离线
二级士官
@echo off ::setlocal enabledelayedexpansion set /p a=请输入一个数 for /l %%i in (1,1,%a%) do ( set /a b+=%%i ) echo %b% pause>nul复制代码
TOP