INTRODUCTION: The apparent temperature outside is related to both the temperature and wind speed The wind chill is a measure of this apparent temperature, and it is a calculation of how cold air feels to human subjects. Wind chill also includes a frostbite indicator, showing how long at a particular wind chll it takes for exposed skin to become frostbitten The formula for calculating wind chill is: NOTE: Use proper variable names. No single letter variables where Tair temperature in "F (must be in the interval (-45, 40D V=wind speed in mph (must be in the interval (0, 60D pudae aq ASSIGNMENT: Write a C program that will allow first allow the user to enter the temperature in Fahrenheit and wind speed in miles per hour. Next, if an unacceptable temperature or wind speed is entered, an error message should be printed and the program should end. If the temperature and wind speed pass the emor check, the formula above should be used to calculate the wind chill Coevert both the air temperature and wind chill to "C. Print the temperature in F. the temperature in "C, the wind speed, the wind chill in "F, and the wind child in "C. Finally, print the time to develop frostbite below the output values as shown in the table below. If the wind chill is above -18'F, priet "No frostbite concerns expected" nstrad of the TIME TO FROSTBITE line shown. Wind Chill Tume to Develop Frostbite PO 35to-18 9 SS 95-> sagm Your peogram output will look lke the illustration shown on the next page. Use your PC's cusor to determine g ndano aog eds poas p poo g SAMPLE OUTPUT FORMAT:

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
BLUEBEAM
it, it's safer to stay in Protected View.
Enable Editing
WIND CHILL CALCULATION
Enter temperature in degrees Fahrenheit: x
Enter wind speed in miles per hour
x :
RESULTS
Temperature (degrees F):
Temperature (degrees C):
Wind speed (miles/hour):
X*XXX
X'XX
Wind Chill (degrees F):
Wind Chill (degrees C):
XXXX
XXX.X
TIME TO FROSTBITE:
XX minutes
.....................
..........
SUBMITTING ASSIGNMENTS:
Once you have your program working, exit the C compiler that you are using Make sure that your source
program file name conforms to the following specifications:
Sp first last
sn is your section number (you are in section 07 or ds)
pn is the program number (1, 2, 3, 4, 5, .)
first is your first nume
last is your last name
where:
An example for the fifth assignment would be 7_5_elmer_fudd.c or 7_5 elmer fudd.cpp
Satumission:
Submit your source program using the Assigaments buttoe in Blackboard Remember to submit your C source
program in standard ANSI C (C89) format only. No other format will be accepted
If you make changes to your program and need to resubit, rename the file such as 7_5 elmer fudd 2 cr
7.5 elmer fudd 3, etc. Then use the Assigements button in Blackboard to submit the new version Only the
most current submited program version will be graded.
Transcribed Image Text:BLUEBEAM it, it's safer to stay in Protected View. Enable Editing WIND CHILL CALCULATION Enter temperature in degrees Fahrenheit: x Enter wind speed in miles per hour x : RESULTS Temperature (degrees F): Temperature (degrees C): Wind speed (miles/hour): X*XXX X'XX Wind Chill (degrees F): Wind Chill (degrees C): XXXX XXX.X TIME TO FROSTBITE: XX minutes ..................... .......... SUBMITTING ASSIGNMENTS: Once you have your program working, exit the C compiler that you are using Make sure that your source program file name conforms to the following specifications: Sp first last sn is your section number (you are in section 07 or ds) pn is the program number (1, 2, 3, 4, 5, .) first is your first nume last is your last name where: An example for the fifth assignment would be 7_5_elmer_fudd.c or 7_5 elmer fudd.cpp Satumission: Submit your source program using the Assigaments buttoe in Blackboard Remember to submit your C source program in standard ANSI C (C89) format only. No other format will be accepted If you make changes to your program and need to resubit, rename the file such as 7_5 elmer fudd 2 cr 7.5 elmer fudd 3, etc. Then use the Assigements button in Blackboard to submit the new version Only the most current submited program version will be graded.
INTRODUCTION:
The apparent temperature outside is related to both the temperature and wind speed. The wind chill is a measure
of this apparent temperature, and it is a calculation of how cold air feels to human subjects. Wind chill also
includes a frostbite indicator, showing how long at a particular wind chill it takes for exposed skin to become
frostbitten.
The formula for calculating wind chill is:
Wind chill (F) 35.74 +0.6215T-35.75 V16+ 0.4275 T V6
NOTE: Use proper variable
names. No single letter variables
will be accepted.
where T air temperature in "F (must be in the interval (-45, 40)
V=wind speed in mph (must be in the interval [0, 60p
I
ASSIGNMENT:
Write a C program that will allow first allow the user to enter the temperature in Fahrenheit and wind speed in
miles per hour. Next, if an unacceptable temperature or wind speed is entered, an error message should be printed
and the program should end. If the temperature and wind speed pass the error check, the formula above should be
used to calculate the wind chill Convert both the air temperature and wind chill to "C. Print the temperature in
"F, the temperature in "C, the wind speed, the wind chill in "F, and the wind child in "C. Finally, print the time to
develop frostbite below the output values as shown in the table below. If the wind chill is above -18 F, print "No
frostbite concerns expected." instead of the TIME TO FROSTBITE: line shown.
Time to Develop Frostbite
30 minutes
10 minutes
5 minutes
-35to-18
Your program output will look like the illustration shown on the next page. Use your PC's cursor to determine
the horizontal and vertical spacing for the output format
SAMPLE OUTPUT FORMAT:
Transcribed Image Text:INTRODUCTION: The apparent temperature outside is related to both the temperature and wind speed. The wind chill is a measure of this apparent temperature, and it is a calculation of how cold air feels to human subjects. Wind chill also includes a frostbite indicator, showing how long at a particular wind chill it takes for exposed skin to become frostbitten. The formula for calculating wind chill is: Wind chill (F) 35.74 +0.6215T-35.75 V16+ 0.4275 T V6 NOTE: Use proper variable names. No single letter variables will be accepted. where T air temperature in "F (must be in the interval (-45, 40) V=wind speed in mph (must be in the interval [0, 60p I ASSIGNMENT: Write a C program that will allow first allow the user to enter the temperature in Fahrenheit and wind speed in miles per hour. Next, if an unacceptable temperature or wind speed is entered, an error message should be printed and the program should end. If the temperature and wind speed pass the error check, the formula above should be used to calculate the wind chill Convert both the air temperature and wind chill to "C. Print the temperature in "F, the temperature in "C, the wind speed, the wind chill in "F, and the wind child in "C. Finally, print the time to develop frostbite below the output values as shown in the table below. If the wind chill is above -18 F, print "No frostbite concerns expected." instead of the TIME TO FROSTBITE: line shown. Time to Develop Frostbite 30 minutes 10 minutes 5 minutes -35to-18 Your program output will look like the illustration shown on the next page. Use your PC's cursor to determine the horizontal and vertical spacing for the output format SAMPLE OUTPUT FORMAT:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY