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

Conditional statements, You can control the flow of your script with condit...

You can control the flow of your script with conditional statements & looping statements.  By using conditional statements, you can write VBScript code which makes decisions and re

Help, Assume that s is a string variable that is supposed to contain a va...

Assume that s is a string variable that is supposed to contain a value to be converted to integer. Write a fragment of code that converts the value to integer variable and displ

Multiple Forms Issue, i want to use two forms in vb.net. when the progress ...

i want to use two forms in vb.net. when the progress bar in form1 reaches on a specific value then disable form1 and progress bar will stop and the second Form2 will popup which wi

ADO.net architecture, write a detailed account on ADO.net architecture.

write a detailed account on ADO.net architecture.

Function procedures - vbscript, This is a series of VBScript statements enc...

This is a series of VBScript statements enclosed through the Function & End Function statements. A Function procedure is same to a Sub procedure, however can also return a value. T

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

MATHEMATICS PROJECT, HOW TO SOLVE ORDINARY DIFFERENTIAL EQUETION IN VISUAL ...

HOW TO SOLVE ORDINARY DIFFERENTIAL EQUETION IN VISUAL BASIC PROGRAMMING

Vbscript error object clear method, Methods: VBScript Err Object ...

Methods: VBScript Err Object Clear Method Clears every property settings. Raise Method Generate a run-time error.

Deleting records - data control, Deleting Records: To remove a record ...

Deleting Records: To remove a record use the Delete method. To delete the record from the customer table follow the coding as shown below: data1.RecordSource = "Customer"

Program to draw a rectangle shape , Create a project that draw a rectangle ...

Create a project that draw a rectangle shape which may be either (*) or (+) according to the selected radio button. The number of rows in the shape will be taken from the 1 st

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