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
Chapter6: Looping
Section: Chapter Questions
Problem 2CP
Related questions
Question
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
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT