Question: linux coding Write a Bash shell script divisible.sh that will do the following: 1) it prompts a user to enter an integer n from 30

linux coding

Write a Bash shell script divisible.sh that will do the following:

1) it prompts a user to enter an integer n from 30 to 60;

2) for all integers from 1 to n: if the integer is divisible by 5, the message divisible by 5 is displayed; if the integer is divisible by 5 and by 3, the message divisible by 15 is displayed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!