题解 | #输出7的倍数#
输出7的倍数
http://www.nowcoder.com/practice/8b85768394304511b0eb887244e51872
for ((num=0;num<=500;num++)) do if [ num % 7] -eq 0 ] then echo $num fi done
输出7的倍数
http://www.nowcoder.com/practice/8b85768394304511b0eb887244e51872
for ((num=0;num<=500;num++)) do if [ num % 7] -eq 0 ] then echo $num fi done
相关推荐