
Computer Science wind-chill temperature
Computer Science wind-chill temperature
1. Include a title that explains in a sentence what you learned or noticed. Include numbers on your submission to identify which part of the assignment you are taking care of.
2. Include your code for the first programming assignment.
(Science: wind-chill temperature) Programming Exercise 2.17 gives a formula
to compute the wind-chill temperature. The formula is valid for temperatures in
the range between -58ºF and 41ºF and wind speed greater than or equal to 2.
Write a program that prompts the user to enter a temperature and a wind speed.
The program displays the wind-chill temperature if the input is valid; otherwise,
it displays a message indicating whether the temperature and/or wind speed is
invalid.
3. The output of your first code that shows what you have works.
4. Include your code for the second programming assignment.
(Game: scissor, rock, paper) Write a program that plays the popular scissor-rockpaper
game. (A scissor can cut a paper, a rock can knock a scissor, and a paper can
wrap a rock.) The program randomly generates a number 0, 1, or 2 representing
scissor, rock, and paper. The program prompts the user to enter a number 0, 1, or
2 and displays a message indicating whether the user or the computer wins, loses,
or draws. Here are sample runs:
scissor (0), rock (1), paper (2): 1
The computer is scissor. You are rock. You won
scissor (0), rock (1), paper (2): 2
The computer is paper. You are paper too. It is a draw
5. (The output of your code that shows what you have works.
6. (A conclusion that discusses what you learned or noticed during the
assignment
We can write this or a similar paper for you! Simply fill the order form!