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

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 5GZ
icon
Related questions
Question

USING C#

 

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
(6니
20 to 39 (including 20 Breeze
and 39)
any other values
Invalid written to
screen
Transcribed Image Text: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 (6니 20 to 39 (including 20 Breeze and 39) any other values Invalid written to screen
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Introduction to computer system
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage