Simple programming, Visual Basic Programming

Assignment Help:
For this assignment you have to design and implement a VB.NET project
which prepares a bill of payment due, given the purchase amount.
The project models a typical purchase transaction at a discount retail store.
You have to design a suitable form which would do the following tasks:
Get the name of the customer from a labelled Text box.
Get the purchase amount from a labelled Text box.
Get the applicable discount(s) from a group of Check boxes labelled:
Fire Sales, Pensioner, and Shareholder respectively.
Get the method of payment as one of the following three options
Cash, Credit Card, or Cheque
presented by a group of Radio Buttons.
Get the delivery instruction as one of the following three options
Free, Zone 1, or Zone 2
presented by a group of Radio Buttons.
Provide the following command Buttons:
Compute, Clear, and Exit.
Provide a List Box to display the computed bill details.
The Form should have a suitable title and have a label showing the purpose
of the project.
The computation for the bill (Amount Due) should allow for discounts,
payment method, and delivery as follows:
The applicable discounts on the purchase amount are:
Fire Sales: 15%, Pensioner: 5%, and Shareholder: 3%
A customer may be eligible for none, one or more discounts.
The maximum total discount is capped at 20%.
The subtotal, purchase total
discount, is then sujected to
cashback or further charge based on the payment method chosen.
By Cash:
If Subtotal >= 400 :Cashback = 2% of Subtotal
Else If Subtotal >= 200 :Cashback = 1% of Subtotal
2
Else :No cashbak
By Card:
If Subtotal <= 200 : CardCharge = 4
else CardCharge = 4 + 0.01*(Subtotal200)
By Cheque:
If SubTotal <= 400 : ChequeCharge = 2
Else No Charge
A delivery charge of $25 applies for Zone 1, and $35 for Zone 2.
The Amount due is then worked out allowing for the above charges or cashback.
The details of the transaction are to be displayed in a Listbox.
Sample of the Listbox transaction display is given below.
Customer: Don Chipp
Purchase: $1000.00
Discount: 20 % $200.00
SubTotal:
$800.00
Card Fee: $10.00
Zone 1
Delivery: $25.00
===========================
Amount Due: $835.00

Related Discussions:- Simple programming

Benefits of using dynamic link library, Benefits of Using DLLs: The dy...

Benefits of Using DLLs: The dynamic linking has the following advantages which are as shown below: It saves memory and decreases the swapping. Many processes can use a s

Project to create splitter window , PROJECT TO CREATE SPLITTER WINDOW   ...

PROJECT TO CREATE SPLITTER WINDOW   1. Generate the SDI application. 2. Enlarge the class tab page. 3. Select the view class. 4. On right clicking the menu pops up.

Create a vb application to make the text bold, Question 1 Create a VB appl...

Question 1 Create a VB application to make the text bold, italic, underlined and also color the text (using checkbox, option button, textbox controls) Question 2 Create a

Multiple document interface (mdi) windows , MULTIPLE DOCUMENT INTERFACE (MD...

MULTIPLE DOCUMENT INTERFACE (MDI) WINDOWS   The SDI (Single document interface) supports one open window or document at a particular time. Microsoft's notepad and paint are il

Coding, Write an event procedure to automate the billing system of a superm...

Write an event procedure to automate the billing system of a supermarket. Give the details of database tables, forms, controls and menu design (if any). Make assumptions, wherever

Cdatabase class - database application, Cdatabase Class: The CDataBase...

Cdatabase Class: The CDataBase class helps to connect to the data source. The Open member function opens a connection to the data source. CRecordset class is used for performi

Select case - control statement, Select Case: The Select Case is used ...

Select Case: The Select Case is used for handling the multiple paths. The Select Case computes the expression and depending on the value of the equivalent Case statement execu

Dialog based application - types of project using visual c++, Dialog Based ...

Dialog Based Application: The application which app wizard generates is based on the dialog template resource.

Variable scope, Variables must always be described with the smallest scope ...

Variables must always be described with the smallest scope possible. VBScript variables can have the given scope. Scope Where Variable is Declared

For next repetition - control statement, For ..... Next Repetition Statemen...

For ..... Next Repetition Statement: To demonstrate the working of for .. next control statement, put a command button and a label control on the form. The Handle clicks the e

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd