使用for循环打印1到N

时间:2021-04-04 15:24:17
【文件属性】:
文件名称:使用for循环打印1到N
文件大小:38KB
文件格式:ZIP
更新时间:2021-04-04 15:24:17
shell Ubuntu Linux 这对我有用:#!bin / shfor c in`seq 1 5`doecho“ $ c” done但是,正如Manfred指出的那样,正确的语法取决于您使用的shell。
【文件预览】:
Printing-1-to-N-with-for-loop.pdf

网友评论