Starting from:
$21.99

$15.99

Tipping Table Solution

In a “You Do It” section of this chapter, you created a tipping table for patrons to use when analyzing their restaurant bills. Now, create a modified program named TippingTable2 in which each of the following values is obtained from user input:

•           The lowest tipping percentage

•           The highest tipping percentage

•           The lowest possible restaurant bill

•           The highest restaurant bill

b.            Create a GUI application named TippingTable2GUI that creates a tipping table after the user clicks a button. Get the lowest and highest tipping percentages and the lowest and highest restaurant bills from TextBox entries. The application should look similar to Figure 5-28.

Figure 5-28:      Typical execution of TippingTable2GUI program

 

More products