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:
- This is implemented using Visual Basic programming language
- Firstly we declared all the variables using DIM key word
- Then the calculation for each variable is done according to the specification of the question
- On the form (See attached Image) the controls for receiving the user input is created as well as the controls for the output.
- See the attached sample run below:
Use no more than two font types
A transformer will either step up or down to the necassary voltage using a core wrapped in a coil of wires.
Windows 10 thru 7 home and some people use mac osx
The answer to this question is the Mainframe Computer.
Mainframe computers are used by large businesses, and government agencies
because this computer can store large data and information. Mainframe basically
known as a large cabinet because of its size and the frame stores the Central
processing unit of the computer.