m91opse 当前离线
列兵
TOP
@echo off set /p a=输入数字: set /p n=输入n次方: set ret=1 for /L %%i in (1,1,%n%) do set /a ret*=%a% echo 输出结果:%ret% pause复制代码