Develop a single shell script which can do the following task: a. Take input of temperature for a week using loops b. Calculate and display the average temperature of a week. c. Display the output in...


Develop a single shell script which can do the following task:<br>a. Take input of temperature for a week using loops<br>b. Calculate and display the average temperature of a week.<br>c. Display the output in given below format.<br>Sample Output/Example Output:<br>Enter temperature for a week:<br>Enter day 1 temperature: 40<br>Enter day 2 temperature: 40<br>Enter day 7 temperature: 40<br>City Name: Nizwa<br>Average temperature : 40<br>

Extracted text: Develop a single shell script which can do the following task: a. Take input of temperature for a week using loops b. Calculate and display the average temperature of a week. c. Display the output in given below format. Sample Output/Example Output: Enter temperature for a week: Enter day 1 temperature: 40 Enter day 2 temperature: 40 Enter day 7 temperature: 40 City Name: Nizwa Average temperature : 40

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here