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
VashaNatasha [74]
3 years ago
10

This solution will use an item quantity and a state code to calculate the total price of an item. The solution will calculate th

e total cost of an item by multiplying the quantity ordered by one of two prices. For quantities less than 50 each item will cost $2.25. For quantities greater than or equal to 50, each item will cost $1.50. Should the state be Connecticut or Massachusetts, an extra $20 will be added to the total cost of the item.
Please answer!!!
Computers and Technology
1 answer:
jeka57 [31]3 years ago
8 0

Answer:

Create one label and one textbox, and name them quatity, both of them. Now add another label, and name it Price. And add a button, and name it calcprice. Also add state textbox for state. Add a textbox and name it state

Now Double click calcprice button in design mode, and add in calcprice_click, code given below:

If Convert.ToInt32(quantity.Text) <50 and (state.Text != Connecticut or state.Text !=Massachusetts) Then  

   Price= Convert.ToInt32(quantity.Text) x 2.25

If Convert.ToInt32(quantity.Text) <50 and (state.Text == Connecticut or state.Text ==Massachusetts) Then  

   Price.Text= Convert.ToInt32(quantity.Text) x 2.25 +20

ElseIf Convert.ToInt32(quantity.Text) >=50  and (state.Text != Connecticut or state.Text !=Massachusetts) Then  

 Price.Text= Convert.ToInt32(quantity.Text) x 1.50

 Else

   Price.Text= Convert.ToInt32(quantity.Text) x 1.5 +20

 End If

Please add this code and it should work fine.

Explanation:

Please check the answer section.

You might be interested in
Label the parts of the plated salad.
sesenic [268]

Answer:

   3. Base (<em>under line</em>): usually a layer of salad greens that line the plate or bowl in which the salad will be served.

   2. Body (<em>main part</em>): consists of the main ingredients.

   1. Garnish: enhances the appearance while also complementing the overall taste; must be edible.

Dressing: liquid/ semi-liquid added to the body.

Explanation:

3 0
2 years ago
The _____ stage of information technology planning outlines business processes that are central to achieving strategic goals and
bija089 [108]

Answer:

d. business area analysis

Explanation:

Business area analysis is the stage of information technology planning outlines business processes that are central to achieving strategic goals and helps determine which ones could most benefit from information technology.

Here the major focus is on planning the outlines required to achieve the central objective of business.

It outlines all the business process, the goals and helps to determine the most benefit from information technology.

3 0
3 years ago
Which area of a magazine cover is often important for those shops and stalls that cannot display the entire cover page on a stan
zloy xaker [14]

I think the answer is one fourth.

Because usually only that part is visible in a stand. It usually contains the name of the magazine and a little bit of illustration gives an idea about what it is about.

6 0
3 years ago
A firewall can consist of all devices positioned on the network _____________.
ale4655 [162]

Answer:

The answer to this question is "perimeter".

Explanation:

In computer science, the firewall is used to provide a network security system that manages network traffic like incoming and outgoing signals. This traffics is based on predetermined security rules. The firewall typically installs a boundary between a trusted inner network and an untrusted outer network, such as the Internet. It is a software concept and Perimeter firewalls manage the flow of network traffic and host or organization's border the boundary that provides the first line of security against outer attacks and blocking access to inappropriate content from inside an organization.

6 0
4 years ago
If your TV was showing a flat black or blue screen, or had "snow", what steps would you take to fix it?
faust18 [17]

Answer:

Assuming that TV was working fine and it stopped working when you restart or after power shutdown. Flat Black or blue screen or snow are all seems to be having HDMI cable sync issues. It can be fixed based on the model of the TV and connectivity it is using.

I would suggest to start with very basic step and should go step by step unless we narrow down the problem.

  1. Turn off all the components, unplug the cables and plug them back by leaving HDMI cables intact. So this process will reset all the units and may help in renegotiation.
  2. Plug all the cables and Turn on the TV.  Plug all other components like sound receiver and source device and Turn on the power.  This may solve the problem.
  3. If issue still persist. Unplug and Plug back HDMI cables and surrounding components in HDMI path. It may solve the issue.
  4. If the issue still persists, then change the HDMI cable itself and try rebooting all components.
  5. If input is changed then it might have caused the issue. So identify the cable from the receiver to the TV.  figure out its input and change the TV input to that value and it will work.
  6. In some TV's if power reset happens, It may revert to TV mode then change the video input based on your TV model.
  7. If the receiver is connected to TV via Coax then change the channel as per TV guide.
  8. If the receiver and its component is using AV or HDMI then use TV remote to change the input source until correct feed is found.
  9. If issue still persist, check the cable with another TV and see if it works. If its not then cable is at fault.
  10. If the cable is fine then change the TV and try above steps.If it works then TV is at fault.

Explanation:

8 0
4 years ago
Other questions:
  • What kind of voltage do solar cells generate? Solar cells produce ______ voltage which is not usable by most household appliance
    15·1 answer
  • A standard science experiment is to drop a ball and see how high it bounces. Once the bounciness of the ball has been determined
    10·1 answer
  • Why did the Wright brothers construct their own wind tunnel?
    11·1 answer
  • In which of the following situations will a macro make your work more efficient?
    12·1 answer
  • The class attribute
    8·1 answer
  • Cora is writing a program to make a motorcycle racing game. If Cora wants to speed of the motorcycle to appear on the screen whe
    12·1 answer
  • How computer network reduce the cost of computer hardware? explain with example.​
    12·2 answers
  • Choose a topic related to a career that interests you and think about how you would research that topic on the Internet. Set a t
    14·1 answer
  • What is another word for: a location in memory that contains a value?
    7·2 answers
  • Is doing free lancing from age 16 good or bad?​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!