Posted by **mariles** on Saturday, October 1, 2011 at 8:31pm.

i have an assignment that confuse me .here's the problem. table 4.9 gives the price schedule for eddie's rental company. full day rental cost one and a half day rentals.write a program that displays table 4.9 in a list box when an appropriate button is clicked on and displays a bill in another list box based on the item number and tie period chosen by the customer. the bill should include 30.00 dollars deposit. pls help me in this. i have to use an if else statement with a keypress events. thank you very much.

- visual basic -
**MathMate**, Saturday, October 1, 2011 at 10:08pm
Do you know how to set up the GUI (buttons, list boxes, etc?)

Table 4.9 is a static table, so all you need to do is to write the content to the textbox1.text when the appropriate button is pressed.

You will need another textbox (textbox2) to enter the item number and period. Another button (say btn2) will do these calculations and write the output to textbox3.text, where textbox3 is the third textbox for displaying the invoice.

You will have to explain to me why you need keypress events if you have input textbox and button presses. Your teacher must have explained that in class.

## Answer this Question

## Related Questions

- Honors Algebra - Hi, I need some help with my Algebra. This is how it goes: Yet ...
- Math - 1. If the point (-3,30) is on the graph y=(x-1)^2+14, where will the ...
- Math - For my class i have to solve this problem. I did it all but i am not sure...
- Math( Attn: Reiny) - 1. A rental business charges $12 per canoe and averages 36 ...
- Algebra 1 - My little sister needs help on her homework and I don't remember ...
- math - A truck can be rented from basic rental for $50 a day. in addition you ...
- Probability & Statistics - Charmaine is looking at the rental car prices for Get...
- Probability & Statistics - Charmaine is looking at the rental car prices for Get...
- Quick math help - A car rental is $65 per day plus $0.45 per mile travelled. ...
- computer programming - a car rental company uses the following table to help ...