Question: Write a bash script ( named numbercrunch.sh ) to do the following: - Ask the user to enter a floating point number - calculate the
Write a bash script named numbercrunch.sh to do the following:
Ask the user to enter a floating point number
calculate the square of the number
calculate the cube of the number
calculate the sum of the square and the cube
Continue writing statemennts in the same script to
redirect the exact output you displayed in to a file named numberout.txt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
