2008. 5. 26.

Gugudan shell script

#!/bin/sh
echo -n "Input number : "
read input
for i in 1 2 3 4 5 6 7 8 9
do
# total=`expr $input * $i`
echo "$input * $i = $(($input * $i))"
done

댓글 없음: