#!/bin/sh
echo "enter the number upto which you want to print table:"
read n
i=1
while [ $i -ne 10 ]
do
i=$(expr $i + 1)
table=$(expr $i \* $n)
echo "$table"
done
shell && array
原创redhatkernel0 ©著作权
©著作权归作者所有:来自51CTO博客作者redhatkernel0的原创作品,请联系作者获取转载授权,否则将追究法律责任
下一篇:判断Armstrong数
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
















