2018年11月29日
摘要: 1、用shell写一个从1加到100的程序: 方法一: #!/bin/bashsum=0for i in {1..100}do let sum+=$idone echo $sum 方法二: #!/bin/bashsum=0for i in {1..100..1}do let sum+=$idone 阅读全文
posted @ 2018-11-29 11:34 哪是什么大佬 阅读(464) 评论(0) 推荐(0) 编辑