S
Question by Sharon Biney
81 views
July 16, 2024

Design and code a project to calculate the amount due for rentals. Movies may be in VHS (videotape) format or DVD format. Videotapes rent for GHC10 each and DVDs rent for GHC15. New releases are GHC18 for DVD and GHC12 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 buttons for Calculate, Clear for Next Item, Order Complete, Summary 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.

A
Answer by Ashish Bajaj

Yes, you can create a form and code the project to calculate the amount due for rentals as described. Just follow the instructions provided in the question.

Ask a question about Online Vb.net Compiler - Online Vb.net Editor - Online Vb.net IDE - Vb.net Coding Online - Practice Vb.net Online - Execute Vb.net O

Alternative downloads

PIC Simulator IDE
rating

It provides a graphical development environment for Microchip microcontrollers

SourceBoost IDE
Free
rating

Modern development environment.

Cocos Code IDE
Free
rating

It is an integrated development environment for Lua and Javascript coding.