Write a bash script named rentlogicsh that takes two


Write a bash script named rentlogic.sh that takes two numbers as command line arguments, first one being income of the person, the second one being rent for the house.

Calculate the ideal balance:

idealbalance=income/3

Compare idealbalance of that person to the house's rent and decide if this house is suitable for rent or not and write "This house is suitable to rent" or "You should not rent this house" on the screen.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Write a bash script named rentlogicsh that takes two
Reference No:- TGS02302518

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)