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

Software that is rude - basics of gui design, Software That Is Rude: T...

Software That Is Rude: The software warns the user for making the mistakes. The Message boxes pop up representing the mistake and the user will have to click the OK or CANCEL

Precompiled header file, THE PRECOMPILED HEADER FILE As soon as you gen...

THE PRECOMPILED HEADER FILE As soon as you generate a blank project, ahead of doing any coding you compile the project to generate .pch (that is the pre compiled header) file a

Vbscript procedures, A Sub procedure is a series of VBScript statements, en...

A Sub procedure is a series of VBScript statements, enclosed through Sub & End Sub statements which perform actions however don't return a value. A Sub procedure can take arguments

Sub and function procedures in code, In your code A, Function has to always...

In your code A, Function has to always be used on the right side of a variable assignment or in an expression. For illustration: Temp = Celsius(fDegrees) or Msg Box "The C

Application that determines the optimal inventory policy, Objective: To dev...

Objective: To develop an Application (Excel + VBA) that determines the optimal inventory policy under an All-Units Discount scheme. APPLICATION CHARACTERISTICS Consider the

Displaying the file without scrolling - document class, Displaying the file...

Displaying the file Without Scrolling: To display a file follow the steps as shown below: 1. Generate a SDI application. 2. Type the coding as shown in the Serialize els

What is the method of creating a new project in vb.sss, Visual Basic 1....

Visual Basic 1. What is the method of creating a new project in VB.SSS 2. Illustrate Code Editor Window and Solution Explorer. 3. Write a VB program to sort and display a

Naming restrictions, For naming anything variable names follow the standard...

For naming anything variable names follow the standard rules in VBScript. A variable name: Should begin with an alphabetic character. Cannot have an embedded period. Sh

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

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