Reference no: EM13545103
PART I:
Complete the following programming exercise.
Write a program to carry out each task. The program should use variables for each of the quantities and display the outcome in a text box with a label.
1. Calculate the amount of a waiter's tip, given the amount of the bill and the percentage tip as input.
2. Convert a percentage to a decimal. For instance, if the user enters 125% into a text box, then the output should be 1.25.
3. Write a program that contains a button and a read-only text box on the form, with the text box initially containing 100. Each time the button is clicked on, the number in the text box should decrease by 1.
4. Request a company's annual revenue and expenses as input, and display the company's net income (revenue minus expenses).
Determine the output oriduced by the lines of code.
1. txtOutput.Text = FormatNumber(1234.56, 0)
2. txtOutput.Text = FormatNumber(-1234.56, 3)
3. txtOutput.Text = FormatNumber(1234, 1)
4. txtOutput.Text = FormatNumber(12345)
5. txtOutput.Text = FormatNumber(0.012, 1)
6. txtOutput.Text = FormatNumber(-2 / 3)
PART II:
Write a two page research paper on VB input and output as discussed in the textbook. Explain the concepts discussed in the textbook using at least one example not included in the textbook.
Use two other resources and list each resource used at the end of paper in the reference list section. Please remember that you may utilize LIRN to help you search for resources.
Calculate how high do they jump
: NBA player Michael Jordan had one of the longest hang times in the league, about 0.92s. how high do they jump
|
Evaluate the molar heat of neutralization
: Calculate the molar heat of neutralization. Assume the specific heat of the solution is 4.184 J/g*degrees C. The heat capacity of the calorimeter is 32.5 J/degrees C.
|
Find the speed and horizontal force exerted on the car
: A mechanic pushes a 2.4 103 kg car from rest to a speed of v, doing 5100 J of work in the process. During this time, the car moves 29.0 m. find the speed v and horizontal force exerted on the car
|
What is the position of the next closest image
: Two plane mirrors stand facing each other, 3.23 m apart, and a woman stands between them. The woman faces one of the mirrors from a distance of 1.30 m and holds her left arm out to the side of her body with the back of her hand facing the closer m..
|
Calculate the amount of a waiters tip
: Write a program to carry out each task. The program should use variables for each of the quantities and display the outcome in a text box with a label.
|
Explain equation in acid solution and determine spontaneous
: Balance the following equation in acid solution and determine if it is spontaneous when all ion concentrations are 0.010 M and the gas pressure is 1 atm. NO3¹? (aq) + Sn²? (aq) ? NO(g) +Sn4? (aq)
|
Use a negative number if the image is behind the mirror
: An object is placed 45 cm from a concave mirror of radius 92 cm. (a) Find the location of the image. (Enter in cm. Use a negative number if the image is behind the mirror) cm (b) What is the magnification of the mirror? Is the image real or virtual? ..
|
Evaluate the angle of incidence
: The angle of refraction of a ray of light traveling through a piece of fused glass quartz is 41°. Find the angle of incidence
|
Evaluate equilibrium constant, if delta gf for nh3
: Calculate Equilibrium constant, if delta Gf for NH3(aq) is -26.50 kj/mole; for H2O(l) is 237.13 kj/mole;for NH4+(aq) is -79.31 kj/mol; for OH-(aq) is 157.3 kj/mole. How many moles of NH4Cl must be added to 1.0L of 0.10M NH3 to make a buffer whose ..
|