Write a program for NASA that will determine if the weather conditions are favorable for launch of a new rocket. It should ask the user for the sustained wind speed and the current daily temperature. If the wind speed is above 30 mph or if the daily temperature is below 41 degrees F, then output that the launch must be aborted. Otherwise, output that the rocket is go for launch! Save the program as RocketLaunch.java.
Here is an example of the program running:
Scenario #1
Please enter sustained wind speed (in mph): 15
Please enter the current daily temperature (in F): 75
Weather conditions are good. The rocket is go for launch.
Scenario #2
Please enter sustained wind speed (in mph): 45
Please enter the current daily temperature (in F): 70
Weather conditions are poor. Abort rocket launch!
Scenario #3
Please enter sustained wind speed (in mph): 15
Please enter the current daily temperature (in F): 35
Weather conditions are poor. Abort rocket launch!
Scenario #4
Please enter sustained wind speed (in mph): 105
Please enter the current daily temperature (in F): -10
Weather conditions are poor. Abort rocket launch!
Also ensure that the following requirements are met:
1) Java file is named correctly.
2) Name, date and assignment information is included at the top of your Java code file as a comment.
3) Java code is properly indented and readable.
4) Code comments are present within each major section of code.
5) Output is formatted correctly and meets the requirements above.
Once you verify that your program runs correctly and you have met the requirements, create a Word or PDF document with the following:
1) Your name, date and assignment identification at the top of the page (Ex. CIS-210 Week 4 Programming Assignment)
2) Full Java source code listing
3) Screenshot of the code compiling successfully in the IDE with the timestamp showing.
4) Screenshot of the code running showing the correct output under all test conditions.
Archive (zip) the results document and the actual .java code files into a single zip file and submit through the classroom. Please name the zip file with
I attached screenshots