Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

And can you tell me what kind of app did you use to write this code? Write a Bash script that takes input from the

image text in transcribedAnd can you tell me what kind of app did you use to write this code?

Write a Bash script that takes input from the user to calculate the sum and average of weekly temperatures for a given city as follows. First, get the city name, prompt the user to enter daily temperatures for the city name, then compute the sum and average weekly temperature based on data entered for each day. There are two parts to this quiz: Part A (group of 2 to 3 people)- Algorithm or strategic approach (5pt) Show how to... - Display city name, total temperature entered, and average temperature - Use If-Then-Else statements to display the message of the season in the city based on the average temperature entered - Use CASE Statements to display the same message of the season

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions