Light Speed Calculator For Linux Bash
Page 1 of 1
Light Speed Calculator For Linux Bash
Code
- Code:
#!/bin/bash
# Usage:
# ./Run.sh
#
# jnet.forumotion.com/t1566-light-speed-calculator-for-linux-bash#2383
#
# shell-tips.com/2010/06/14/performing-math-calculation-in-bash
#
# tldp.org/LDP/Bash-Beginners-Guide/html/sect_08_02.html
#
echo "Light Speed Calculator"
echo "1 Light Year = 5.8 Trillion Miles"
echo "Enter Light Years To Calculate"
read in1
echo "You Chose $in1 Light Years & The Answer Is"
#
echo "$in1 * 5.8 Trillion Miles, Which Is:"
echo ""
#
echo "($in1 * 5.8)" | bc
#echo "$output"
echo "Trillion Miles."
Similar topics
» Speed Test With Bash On Linux
» Bash Percentage Calculator For Linux
» Linux Bash Dog Age Calculator Script
» Voltage Divider Calculator For Linux Bash
» Bash Wattage Calculator
» Bash Percentage Calculator For Linux
» Linux Bash Dog Age Calculator Script
» Voltage Divider Calculator For Linux Bash
» Bash Wattage Calculator
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum