Question: 2. Write a bash shell script code for the following: The weight of person on the moon is 1/8th of the weight of a person
2. Write a bash shell script code for the following: The weight of person on the moon is 1/8th of the weight of a person standing on earth. Lets assume your weight on earth increases by 1 Kg every year. Write a program that will print your weight on the moon every year for next 10 years.
Kindly give code for this.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
