Question: Bash Write a bash script (named flotingpoint.sh) to read a floating point number then print: 'number is zero' if the entered number is zero or
Bash
Write a bash script (named flotingpoint.sh) to read a floating point number then print: 'number is zero' if the entered number is zero or 'number is negative' if the entered number is a negative number or 'number is positive' if the entered number is a positive number NOTE: You must create the script to compare floating point (i.e. with precision) numbers. PS: MAKE SURE TO PRINT THE TITLE WITH YOUR NAME (see the figure below) Following is an example where all three cases are tested
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
