Write C Shell Script Solve Following Program Planet Zephod Orbits Star Betelgeuse Sharks I Q37120924

Write a C Shell Script to solve the following program: On theplanet Zephod, which orbits the star Betelgeuse, the sharksincrease at a rate of 5% of the guppy population per day, providedthere are 50 or more guppies per shark. Otherwise, the sharks dieoff at a rate of 50% per day.

The guppies increase at a rate of 80% per day, provided theshark population is less than 20 % of the guppy population.Otherwise there is no increase in the guppy population.

Each shark eats 5 guppies a day. Write a C Script that allowsthe user to input the initial shark population, the initial

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.