Asked by Lee
                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!!
            
        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!!
Answers
                    Answered by
            MattsRiceBowl
            
    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.  :-)
    
                                                    There are no AI answers yet. The ability to request AI answers is coming soon!
                                            
                Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.