echo \else echo \fi;;
3.用shell编写小九九乘法表程序,程序执行结果如下:
#! /bin/sh – for i in 1 2 3 4 5 6 7 8 9 do for j in 1 2 3 4 5 6 7 8 9 do if ( test $j -le $i ) then echo -ne `expr $i \\* $j` \ else echo break fi done done
Linux期末考试试题8套(含答案)
echo\elseecho\fi;;3.用shell编写小九九乘法表程序,程序执行结果如下:#!/bin/sh–foriin123456789doforjin123456789doif(test$j-
推荐度:





点击下载文档文档为doc格式