Asked by mariles
                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.
            
            
        Answers
                    Answered by
            MathMate
            
    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.
    
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.
                                                    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.