Answer:https://www.khanacademy.org/computer-programming/lava-the-impossible-game-by-swax97/4638717300965376/embedded?id=1436456095000-0.5&origin=undefined&buttons=yes&embed=yes&editor=no&author=yes
Explanation:
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:
Saving a python file implies that one wants to have a physical file of the program on a storage device.
To save a python program, the following step must be followed
- Select Save As
- Navigate to the directory where you want to save the file
- Enter the file name
- Click save
Note that python files are saved in the .py extension
Read more about python programs at:
brainly.com/question/16397886
There are four types of alignment in word.
Left-aligned text
Right-aligned text
Center-aligned text
Justified text