#!/bin/bash
clear
echo "Program Konversi Decimal-Biner"
echo -n "Masukkan Angka Desimal(0-15): "
read d
let h=$d
if [ $h -lt 16 ];
then
bin=`echo "obase=2;$d"|bc`
echo "Bilangan Binernya : $bin"
fi
Script Biner Bash Shell
00.23 |
Label:
Pemrograman Shell