Write a shell script that prints the given menu


Questions:

Write a shell script that prints the following menu (Unix)

1. Write a shell script that prints the following menu
Welcome to My Simple Mathematica
a) Choose 'a' for Fibonacci Series
b) Choose 'b' for Prime Numbers

Please make your choice [a or b]:

Once the user enters 'a' or 'b' perform the appropriate calculation and print the series. Limit the series by requiring the user to provide the upper limit number.

After printing the series prompt the user if they wish to continue. A positive response (Yes) prints the menu again, and a negative response (no) exits the program.

generate 7 fibonacci numbers i.e. 1 1 2 3 5 8 13

Solution Preview :

Prepared by a verified Expert
Other Subject: Write a shell script that prints the given menu
Reference No:- TGS01937172

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)