The distance between two cities (in Km) is input through the keyboard. Write a program to convert and print this distance in meters, feet, inches and centimeters.
echo "Enter distance between two cities (in km) : " read km meter=`echo $km \* 1000 | bc` feet=`echo $meter \* 3.2808 | bc` inches=`echo $feet \* 12 | bc` cm=`echo $feet \* 30.48 | bc` echo "Total meter is : $meter " echo "Total feet is : $feet " echo "Total inches is : $inches " echo "Total centimeters : $cm "