Question: Use a for loop Write a bash shell script program to generate a report based on the stock market data in the last 12 months

Use a for loop
 Use a for loop Write a bash shell script program to

Write a bash shell script program to generate a report based on the stock market data in the last 12 months for ADTE Inc. Your program prompts the user to enter the stock values in the last 12 months from the keyboard, inputs the data, calculates and displays the average value. You can enter the stock data below (unit is USS) to test your program 99 100 95 89 120 165 109 91 83 67 75 101 Your program output should be: The average value is: US$99.5

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!