echo “Enter the distance in kms”
read dist
expr ‘$meters= $dist\*1000’
expr ‘$centi = $meters\*100’
expr ‘$inch = $centi\*2.54’
expr ‘$feet = $inch\*12’
echo “Distance in meters = $meters”
echo “Distance in centimeter = $centi”
echo “Distance in inches = $inch”
echo “Distance in feets = $feet”
1 comment:
Output nhi arha re
Post a Comment