Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 testedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started