# Visual Basics 2008

posted by .

This is a from chapter 3 #82. the problem is:

Write a program to calculate the amount of a server's tip given the amount of the bill and the percentage tip obtained via imput dialog boxes. The output should be a complete sentence that reiterates the inputs and gives the resulting tip, as shown in example ("A 15% tip on \$20.00 is \$3.00") I am including a copy of the program I've created so far. It's not displaying the above information.

Program:

Public Class frmTip

Private Sub btnEnter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEnter.Click
Dim billAmount As Double
Dim percent, tip As Double
billAmount = CDbl(InputBox("Amount of Bill"))
percent = CDbl(InputBox("Amount of Tip"))
tip = billAmount * percent / 100
txtOutput.Text = CDbl(Math.Round(tip, 2))
txtOutput.Text = "A percent tip on bill is tip"
End Sub
End Class

I'm not sure what I'm suppose to include. HELP!!

• Visual Basics 2008 -

This problem actually turned you into a woman named Stacy. You might want to check my response in that question a few lines above this question. :-)

## Similar Questions

1. ### Computer Visual Basics 2008

This questions is from Chapter 5, #54) Write a program to compute tips for services rendered. The program should request th person's occupation, the amount of the bill, and the percentage tip as input and pass this informaiton to a …
2. ### programming

write a program to calculate the amount of a server's tip given the amount of the bill and the percentage tip ovtained via input dialog boxes. The output should be a complete sentence that reiterates the inputs and gives the resulting …
3. ### math

12.(4pts) Solve the problem. Round your answer to the nearest tenth of a percent unless otherwise indicated. Sales of frozen pizza for a club fund-raiser increased from 500 one year to 575 the next year. What was the percent of increase?
4. ### Intro to programming

Tip, Tax and Total question? Design a program that calculates the total amount of a meal purchased at a restaurant in raptor, the program has to ask user the charge of food, calculate the amount of a 15 percent tip, and 7 percent sales
5. ### Math

Find the amount of the tip on a 75\$ bill if a 15% tip is left. A. 11.25 B. 11.20 C. 10.50 (my answer) D. 12.00
6. ### intro to computer programming

I need help with my Java homework! Write a program that calculates a customer's monthly bill. It should ask the user via dialog box to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours …
7. ### help fast just explain how i get answer but plz

find the amount of tip on a \$75 bill if 15% tip is left a.\$11.25 b.\$11.20 c.\$10.50 d.\$12.00
8. ### c programming

write a program that computes tax and tip on a restaurant bill for a patron with rs.44.50 per meal charge.the tax should be 6.75 percent of the meal cost.the tip should be 15 percent of the total after adding the tax.display the meal …
9. ### math

Your bill at a restaurant is \$29.97. You want to leave about 20% for a tip. Estimate the amount of a tip. (Round your answer to the nearest cent.)
10. ### Very hard math

find the amount of tip on a \$75 bill if a 15 tip is left. A. \$11.25 B. \$11.20 C. \$10;50 D. \$12.00 I think its 11.25

More Similar Questions