3

for循环-99乘法表

 2 years ago
source link: https://blog.51cto.com/gavenlee/5751107
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

for循环-99乘法表

精选 原创

GavenLee 2022-10-12 16:10:44 博主文章分类:Linux系统 ©著作权

文章标签 99乘法表 for循环 文章分类 Linux 系统/运维 阅读数218

制作99乘法表

#!/bin/bash

for i in {1..9}; do
for j in `seq $i`;do
echo -e "$i*$j=$[$i*$j]\t\c" #\t插入tab键,\c不插入换行符
done
echo
done

for循环-99乘法表_for循环
  • 收藏
  • 评论
  • 分享
  • 举报

</div


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK