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
Orlov [11]
4 years ago
13

Create an application that lets the user enter the food charge for a meal at a restaurant. When a button is clicked, the applica

tion should calculate and display the amount of a 15 percent tip, 7 percent sales tax, and the total of all three amounts.

Computers and Technology
1 answer:
Art [367]4 years ago
4 0

Answer:

Public Class Form1

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

       Dim foodCharge, tax, tip, totalCharge As Double

       foodCharge = Val(TextBox1.Text)

       tax = 0.07 * foodCharge

       tip = 0.15 * 100

       totalCharge = foodCharge + tax + tip

       Label5.Text = tax

       Label6.Text = tip

       Label7.Text = totalCharge

   End Sub

End Class

Explanation:

  1. This is implemented using Visual Basic programming language
  2. Firstly we declared all the variables using DIM key word
  3. Then the calculation for each variable is done according to the specification of the question
  4. On the form (See attached Image) the controls for receiving the user input is created as well as the controls for the output.
  5. See the attached sample run below:

You might be interested in
How can I make my Wi-Fi signal fast? I am going through my exam but my Wi-Fi is not supporting plz help.
9966 [12]

Answer: Maybe try to move router.

Explanation:

8 0
3 years ago
Ryan is the operations manager for a national financial company. His company is in the process of creating a customer handbook.
Nat2105 [25]

Answer:

Ryan first needs to determine his goals, in his case he is looking for a telecommunications technology that will often need to be updated and revised by others. Once he determines what he is looking for he can start gathering data, and once he's done that he can analyze his choices from the data he's gathered, in his case I would assume he'd be looking at either a wiki or a blog. Now it's time for Ryan to make his decision, I would go with a wiki since a wiki can be updated by many people in diverse locations. He said so himself that employees all over the country would be contributing to it so that is why I think a wiki would best suit him. Now that he's made his decision and can take a step back and evaluate what he has done and make sure he made the right choice.

Explanation:

:)

3 0
3 years ago
A _______ is the most commonly used input device.
nirvana33 [79]
The answer is B.Keyboard
4 0
3 years ago
Read 2 more answers
In a ________ network, each node connected to the network communicates directly with every other node.
nlexa [21]
I am definitely sure that correct answer looks like this: In a <span>peer-to-peer </span>network, each node connected to the network communicates directly with every other node. Peer-to-peer or P2P network is a network in which every client connected to another client and they are depended on each other. When one of them has connection problems, another one gets them too.
5 0
3 years ago
What value will the color variable have after these lines of code run?
hoa [83]

Answer:

red

Explanation:

color is set to red in the last line of being defined.

5 0
3 years ago
Other questions:
  • It is essential that a security professional is able to resolve and respond to cyber law inquiries and incidents while avoiding
    14·1 answer
  • Which projects would Word be best used for? Check all that apply. understanding words
    10·1 answer
  • What are some good invention names for an air filter?
    14·1 answer
  • Which process alters readable data into unreadable form to prevent unauthorized access known as?
    8·1 answer
  • HELP PLEASE! Match each feature of e-publishing as an advantage, a disadvantage, a threat, or an opportunity.
    12·1 answer
  • A ___ is a node (or a device) that connects two different networks together and allows them to communicate.
    12·1 answer
  • Why does Linux make use of tasklets (i.e., software interrupts) instead of executing all interrupt-related activity in the (hard
    11·1 answer
  • In the terms of OOP, in the microwave system, current time is a BLANK and change heat is a BLANK
    15·1 answer
  • Declare a structure whose tag name is Server and that contains the following fields: manufacturer, a string, model and serialnum
    12·1 answer
  • Name the part of windows<br> explore window​
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!