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

Files in a sdi and mdi application, Files in a SDI and MDI Application: ...

Files in a SDI and MDI Application: Both the SDI and MDI projects have 4 implementation files (.cpp extension). These are the files equivalent to the Document Class, View Clas

Scope and lifetime of variables, The scope of a variable is finding out by ...

The scope of a variable is finding out by where you declare it. While you declare a variable in a procedure, only code in that procedure can access or alter the value of that varia

Event-driven programming - windows programming, Event-Driven Programming: ...

Event-Driven Programming: The Event-driven programming allows the program to react to various inputs or events.   The action on a graphical component is an event. For il

For loop visual basic program, Write Visual Basic programs for the followin...

Write Visual Basic programs for the following: 1.     Write a program that uses a "For Loop" to generate a list of temperature conversions in one degree increments from a given

Adding events in visual basic , Adding Events in VB   For adding the e...

Adding Events in VB   For adding the events in VB, first double click on the command button with the caption hello. The Private Sub command1_Click () and End Sub would be

Repeating statements while a condition is true, Use the While keyword to ve...

Use the While keyword to verify a condition in a Do...Loop statement. You can verify the condition before you enter the loop (as illustrated in the following ChkFirstWhile instance

Programming project using straight-line method, Depreciation to a Salvage V...

Depreciation to a Salvage Value of 0.   For tax purposes an item may be depreciated over a period of several years, n. With the straight-line method of depreciation, each year th

Mr, want a visual basic code on Hungarian method

want a visual basic code on Hungarian method

For each next loop - vbscript, A For Each...Next loop is similar to a For.....

A For Each...Next loop is similar to a For...Next loop. Rather than repeating the statements a particular number of times, For Each...Next loop repeats group of statements for each

Control array, CONTROL ARRAY The control array is a group of similar ob...

CONTROL ARRAY The control array is a group of similar objects with similar name. Adding controls with control arrays uses less resource than simply adding the multiple controls

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