Complete the program below, so it works as shown in console window. User will enter wind speed and wind description must be displayed. The average is also shown. The while loop runs twice. Enter wind speed: 21 Enter wind speed: 35 Type of Wind: 21 Breeze 35 Breeze Average speed: 28 windSpeed add to message variable 6 to 19 (including 6 and Light Breeze 19) 20 to 39 (including 20 Breeze and 39) any other values Invalid written to screen
Complete the program below, so it works as shown in console window. User will enter wind speed and wind description must be displayed. The average is also shown. The while loop runs twice. Enter wind speed: 21 Enter wind speed: 35 Type of Wind: 21 Breeze 35 Breeze Average speed: 28 windSpeed add to message variable 6 to 19 (including 6 and Light Breeze 19) 20 to 39 (including 20 Breeze and 39) any other values Invalid written to screen
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question

Transcribed Image Text:4G
MTN-SAO V
O 98% O0:13
V Flag question
Complete the program below, so it works as
shown in console window. User will enter wind
speed and wind description must be
displayed. The average is also shown. The
while loop runs twice.
Enter wind speed: 21
Enter wind speed: 35
Type of Wind:
21 Breeze
35 Breeze
Average speed: 28
windSpeed
add to message
variable
6 to 19 (including 6 and Light Breeze
19)
20 to 39 (including 20 Breeze
and 39)
any other values
Invalid written to
screen
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education