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
/ List the seven basic internal components found in a computer tower.
JulsSmile [24]
The 7 components found in a computer tower are the following:
Power supply unit
Central processing unit
Hard disk drive
Ram modules
Motherboard
Video card
Sound card
3 0
3 years ago
Read 2 more answers
Some Tiny College staff employees are information technology (IT) personnel.
const2013 [10]
xndnxbxnndndndnndnxndnnxndndnndndndnndndndndndnndnxnx
5 0
2 years ago
Why are people's visions of utopias and dystopias subjective?
Leno4ka [110]

Answer:

D. Because the technology needed for one person's utopia may be what creates disaster for another person's dystopia.

Explanation:

3 0
2 years ago
Which of the following are peripheral devices?
Fittoniya [83]

Explanation:

I think it's speakers,

7 0
3 years ago
Read 2 more answers
Which item was key to how Microsoft got its start in the 1970s? a. artificial intelligence b. vacuum tubes c. Altair 8800 d. UNI
tigry1 [53]

Answer:

A??

Explanation:

6 0
3 years ago
Other questions:
  • In Java :
    11·1 answer
  • Exit network systems, information support, and software development are all careers in which career cluster?
    10·1 answer
  • You work in a customer call center. Martin is on the phone asking about the difference between solid-state drives (SSDs), hybrid
    6·1 answer
  • After Maya gave her friend the password to a protected website, the friend was able to remember it only long enough to type it i
    6·1 answer
  • If(moreDate == true)
    7·1 answer
  • A variable that can be modified from anywhere within a program is called a?
    5·1 answer
  • Your program will search for prime numbers. You will first ask the user for the range of values to search, and use for loops to
    6·1 answer
  • How do I delete my brainly account?<br> I don't need anymore.
    13·2 answers
  • what is the correct process for setting up a recurring project for the same client in qbo accountant?
    14·1 answer
  • Design and implement an application that reads a string from the user then determines and prints how many of eachlowercase vowel
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!