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

Steps to create a rectangle in the client region, STEPS TO CREATE A RECTANG...

STEPS TO CREATE A RECTANGLE IN THE CLIENT REGION 1. Generate a SDI application and name it as a brush. 2. Handle the WM_LBUTTONDOWN message for the CBrushView object id.

Indexing - visual basic, Indexing: In libraries, the card catalog is t...

Indexing: In libraries, the card catalog is the index. The three indices are used in the library. The Author, Subject and title are the 3 indices. Each index is relative. The

Variant subtypes, Beyond the simple string or numeric classifications, Vari...

Beyond the simple string or numeric classifications, Variant can make added distinctions regarding the specific nature of numeric information. For instance, you can have numeric in

#title., Write a program to print a digital clock which displays the time f...

Write a program to print a digital clock which displays the time for 2 hours . ..

Vb script basics, This section will discuss the fundamentals of VBScript an...

This section will discuss the fundamentals of VBScript and define concepts such as datatypes, loops and others. VBScript Data Types VBScript contain only one data type called

Create a calculator application, Create a VB calculator application that ap...

Create a VB calculator application that appears as in the screen shots below. The user enters numbers in the textboxes labelled Number 1 and Number 2. When a calculati

Ddx - dialog data exchange, DDX - Dialog Data Exchange: The Data membe...

DDX - Dialog Data Exchange: The Data members can be related with specific controls in the dialog box. When the dialog box is displayed, the DDX will transfer the values into t

Wage calculator and ta calculations, ( Wage Calculator with Tax Calculation...

( Wage Calculator with Tax Calculations) Develop an application that calculates an employee’s earnings, as shown in Fig. 4.23. The user should provide the hourly wage and number of

Record set - database applications, Record Set: The record set present...

Record Set: The record set presents the records in a base table or the records retrieved due to the query. The record set falls into 3 classes. These are table type record set

Dialog - database applications, DIALOG   The dialog is a window which ...

DIALOG   The dialog is a window which contains controls. The Dialog boxes are the form of input and output. The control can be placed on the dialog box for communicating. If y

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