n=0 hex=0 echo -n "Enter number in decimal format : " read n hex=`echo "obase=16;ibase=10; $n" | bc` echo "$n is equivalent \"$hex\" in hexadecimal"
沒有留言:
張貼留言