Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This problem is a varation of PP1 for chapter 4. Everythink works fine except that I can not get the display rental rates button to

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

This problem is a varation of PP1 for chapter 4. Everythink works fine except that I can not get the display rental rates button to work. How do I get it to not appear until I click the "display rental rates" button? After it is visible the "display customer bill" part works fine, I need to make the first listbox( _1stRents in the program) invisible and then become visible when I press the "display rental rates" button( btnRents in the program). Please help, I think i might just need to add a few lines of code in the beginning for this but not sure, thank you.

Rental Cost Table 4.11 gives the price schedule for Eddie's Equipment Rental. Full-day rentals cost one-and-a-half times 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 time period chosen by a customer. The bill should include a $30.00 deposit. A sample output is shown in Fig. 4.58 TABLE 4.11 Price schedule for Eddie's Equipment Rental Piece of Equipment 1. Rug cleaner 2. Lawn mower 3. Paint sprayer Half-Day $16.00 $12.00 $20.00 TABLE 4.9 Duration of one vear on each planet Year Mercurian Venusian Earth Martian Earth Days Year Earth 224.7 365.4 687 ovian Saturian Uranian 8 Neptuian Welcome to Eddie's Equipment Rental Price of Equipment 1. Rug cleaner 2. Lawn nower 3. Paint sprayer Half-day Full-day $16.00 $24.00 $12.00 $20.00 $30.00 Display Rentel Rates $18.00 Select an item (1,2, or 3): 2 Receipt from Eddie's Equipment Rental (Pull day rental) Lawn n?er; $18.00 Deposit: $30.00 Select a duration (H or F): ? Display Customer Bill Total: $48.00 FIGURE 4.58 Possible output for Programming Project 1. Rental Cost Table 4.11 gives the price schedule for Eddie's Equipment Rental. Full-day rentals cost one-and-a-half times 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 time period chosen by a customer. The bill should include a $30.00 deposit. A sample output is shown in Fig. 4.58 TABLE 4.11 Price schedule for Eddie's Equipment Rental Piece of Equipment 1. Rug cleaner 2. Lawn mower 3. Paint sprayer Half-Day $16.00 $12.00 $20.00 TABLE 4.9 Duration of one vear on each planet Year Mercurian Venusian Earth Martian Earth Days Year Earth 224.7 365.4 687 ovian Saturian Uranian 8 Neptuian Welcome to Eddie's Equipment Rental Price of Equipment 1. Rug cleaner 2. Lawn nower 3. Paint sprayer Half-day Full-day $16.00 $24.00 $12.00 $20.00 $30.00 Display Rentel Rates $18.00 Select an item (1,2, or 3): 2 Receipt from Eddie's Equipment Rental (Pull day rental) Lawn n?er; $18.00 Deposit: $30.00 Select a duration (H or F): ? Display Customer Bill Total: $48.00 FIGURE 4.58 Possible output for Programming Project 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions