1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Black_prince [1.1K]
3 years ago
10

he Saffir-Simpson Hurricane Scale classifies hurricanes into five categories numbered 1 through 5. Write an application named Hu

rricane that outputs a hurricane’s category based on the user’s input of the wind speed. Category 5 hurricanes have sustained winds of at least 157 miles per hour. The minimum sustained wind speeds for categories 4 through 1 are 130, 111, 96, and 74 miles per hour, respectively. Any storm with winds of less than 74 miles per hour is not a hurricane. If a storm falls into one of the hurricane categories, output This is a category # hurricane, with # replaced by the category number. If a storm is not a hurricane, output This is not a hurricane.
Computers and Technology
2 answers:
const2013 [10]3 years ago
6 0

Answer:

Explanation:

namespace Hurricane

{

   public partial class Hurricane : Form

   {

       public Hurricane()

       {

           InitializeComponent();

       }

       private void btnSubmit_Click(object sender, EventArgs e)

       {

           //declare constants and variables

           const int CAT5 = 157, CAT4 = 130, CAT3 = 111, CAT2 = 96, CAT1 = 74;

           double WindSpeed = Convert.ToDouble(txtInput.Text);

           string Category;

           //determine hurricane category

           if (WindSpeed >= CAT5)

               Category = "a category 5 hurricane.";

           else if (WindSpeed >= CAT4)

               Category = "a category 4 hurricane.";

           else if (WindSpeed >= CAT3)

               Category = "a category 3 hurricane.";

           else if (WindSpeed >= CAT2)

               Category = "a category 2 hurricane.";

           else if (WindSpeed >= CAT1)

               Category = "a category 1 hurricane.";

           else

               Category = "not a hurricane.";

           //output

           lblOutput.Text = "A windspeed of " + WindSpeed + "mph is " + Category;

       }

       private void btnExit_Click(object sender, EventArgs e)

       {

           Application.Exit();

       }

   }

}

AnnyKZ [126]3 years ago
4 0

Answer:

The program plan requires the design of the gui program form

Explanation:

The program plan will be as follows:

take 4 label and 4 text box and 1 button and modify the property of controls to design the gui form.

use 6 if statements and 1 else statement.

use or operator for comparison.

show message in textbox.

program code:

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System. Data;

using System.Drawing;

using System.LINQ;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;

namespace...

You might be interested in
If a company's IS-related programs are not developed in-house, then the development group of the IS department will be staffed p
EastWind [94]

Answer:Systems analysts

Explanation: System analyst is referred as the person in an organization for resolving the issue related program and information technologies. The person basically design the solution by analyzing the problem accordingly.

Information system of company has any separate department for handling the problems related with the IS-related programs. These problem usually lies under the department of the system analyst. They work on the problem solving, improvement and improvisation, training etc.

3 0
3 years ago
A misfire code is a type _______ diagnostic trouble code (DTC).
Gre4nikov [31]

A misfire code is a type A diagnostic trouble code.  

A type A misfire indicates impending catalyst damage and is the most serious type of misfire condition. If this type of misfire is detected, the MIL may flash once per second to notify the driver that the car needs immediate service as soon as possible. In addition, a DTC is set and a freeze frame data is stored.


6 0
2 years ago
A customer survey asked respondents to indicate their highest levels of education. The only three choices in the survey were hig
solong [7]

Answer:

27%

Explanation:

100% = 26% + 47% + x%

100% = 73% + x%

27% = x%

4 0
3 years ago
Explain steps in creating a main document for from letter. <br>​
Paladinen [302]

Answer:

To create a new database, follow these steps:

1.In the Mail Merge task pane, click Next: Select Recipients.

2.Click Type a new list.

3.Click Create. ...

4.After you type the information for a record, click New Entry to move to the next record. ...

5.In the New Address List dialog box, click OK

4 0
3 years ago
Assume that a file contains students' ids, full names, and their scores (Assignments grade, quizzes grade,
elixir [45]

Answer:

اope its heمحبعم

Explanation:

3 0
2 years ago
Other questions:
  • "is it important to have a firewall on a home network
    10·1 answer
  • Derek has an interest in designing video games. What requirements should he fulfill to be a game designer?
    13·1 answer
  • What might be one reason why a stock becomes more valuable over time
    5·1 answer
  • 4. Who developed the first design technology program which had a
    12·1 answer
  • Choose a developing country and give 3 reasons why it is a developing country ​
    15·1 answer
  • Question 1 (1 point)
    9·1 answer
  • Recommend how could you integrate positive aspects of digital literacy into your own
    13·1 answer
  • Will social media lose its relevance?​
    6·1 answer
  • Why would over-50 executives have a harder time buying into the idea of social media?​
    15·1 answer
  • Only cool people answer this question.<br><br><br><br><br> are you cool?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!