Janie Williamson
New Member
- Joined
- Mar 2, 2011
- Messages
- 7
- Reaction score
- 0
- Points
- 1
I'm using the book "programming in visual basic 2008". i can't for the life of me figure out what to do here. i'm in chapter 4. the instructions read:
design and code a project to calculate the amount due for rentals. movies may be in vhs format or dvd format. videotapes rent for $1.80 each and DVDs rent for $2.50. new releases are $3 for dvd and $2 for vhs.
on the form include a text box to input the movie title and radio buttons to indicate whether the movie is in dvd or vhs format. use one check box to indicate whether the person is a member; members receive a 10 percent discount. another check box indicates a new release.
use the buttons for CALCULATE, CLEAR FOR NEXT ITEM, ORDER COMPLETE, SUMMARY, PRINT, and EXIT. the CALCULATE button should display the item amount and add to the subtotal. the CLEAR FOR NEXT ITEM button clears the check box for new releases, the movie title, and the radio buttons; the member check box cannot be changed until the current order is complete. include validation to check for missing data. if the user clicks on the CALCULATE button without first entering the movie title and selecting the movie format, display a message box.
for the ORDER COMPLETE button, first confirm the operation with the user and clear the controls on the form for a new customer.
the SUMMARY button displays the number of customers and the sum of the rental amounts in a message box. make sure to add to the customer count and rental sum for each customer order.
oh dear. i'm sorry. it's the calculations im have a problem with. you see when my grandson showed me this thing i was having fun. now i'm at chapter 4 and i am so flustered. i dont want to give up but this is hard
design and code a project to calculate the amount due for rentals. movies may be in vhs format or dvd format. videotapes rent for $1.80 each and DVDs rent for $2.50. new releases are $3 for dvd and $2 for vhs.
on the form include a text box to input the movie title and radio buttons to indicate whether the movie is in dvd or vhs format. use one check box to indicate whether the person is a member; members receive a 10 percent discount. another check box indicates a new release.
use the buttons for CALCULATE, CLEAR FOR NEXT ITEM, ORDER COMPLETE, SUMMARY, PRINT, and EXIT. the CALCULATE button should display the item amount and add to the subtotal. the CLEAR FOR NEXT ITEM button clears the check box for new releases, the movie title, and the radio buttons; the member check box cannot be changed until the current order is complete. include validation to check for missing data. if the user clicks on the CALCULATE button without first entering the movie title and selecting the movie format, display a message box.
for the ORDER COMPLETE button, first confirm the operation with the user and clear the controls on the form for a new customer.
the SUMMARY button displays the number of customers and the sum of the rental amounts in a message box. make sure to add to the customer count and rental sum for each customer order.
oh dear. i'm sorry. it's the calculations im have a problem with. you see when my grandson showed me this thing i was having fun. now i'm at chapter 4 and i am so flustered. i dont want to give up but this is hard