Answered Essay: Create a Visual Basic program to calculate the sales commission for a realtor. Zip your files. Submit the program before the 5

Create a Visual Basic program to calculate the sales commission for a realtor. Zip your files. Submit the program before the 5:00 deadline Have the user enter the selling price of a home. Calculate the commission at 6%. Add $1,000 for advertising. Add 5% sales tax. Calculate the total. Display the commission, advertising, sales tax and total Use the proper naming conventions for all controls and variables Include a prologue and comment your code Be sure to: put your day and classtime in a Label on the form input the selling price Scoring . calculate the commission inputs the selling price calculates costs and total formatted output working Exit and Calc Buttons comments and prologue properly named controls, variables and constants Total . add the advertising . calculate the sales tax . calculate the total format and display the output include a working Exit Button include a working Calc Button comment your code include a prologue at the top of the code properly name all controls properly name all variables and constants submit the all required files 10

Create a Visual Basic program to calculate the sales commission for a realtor. Zip your files. Submit the program before the 5: 00 deadline. Have the user enter the selling price of a home. Calculate the commission at 6%. Add $1,000 for advertising. Add 5% sales tax. Calculate the total. Display the commission, advertising, sales tax and total. Use the proper naming conventions for all controls and variables. Include a prologue and comment your code.

Expert Answer

Step 1: Create Vb Form and add the required fields. Here I am using text boxes to display the calculated values, as its not clear that whether it is editable or not. As your requirement I have calculated the values and displaying the corresponding textboxes which are ‘readonly’=true in the design properties.

Your Initial Form Design will be:

If you run the application and enter Sell Amount, it will be:

Your Final out put, if you Click on Calculate button your screen will be:

Here is the VB Code to reach your output:

——————————————-

Public Class Sales

Private Sub Sales_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

‘To clear error message

lblError.Text = “”

End Sub

Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click

‘To exit from the Application

Application.Exit()

End Sub

Private Sub btnCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalc.Click

‘To Calculate the various amounts related to the sails according to the user input.

‘Declare and initialize variables

Dim sell_price As Decimal = 0

Dim sTax As Decimal = 0

Dim adv As Decimal = 0

Dim commission As Decimal = 0

Dim Total As Decimal = 0

‘Clear all recommended I/O fields.

lblError.Text = “”

txtCommission.Text = “”

txtAdv.Text = “”

txtSalesTax.Text = “”

lblTotalAmt.Text = “”

Try

‘Calculation for commission,sales tax and total amount.

sell_price = CType(txtSellPrice.Text, Decimal)

commission = sell_price * 6 / 100

sTax = sell_price * 5 / 100

adv = 1000

Total = sell_price + adv + sTax + commission

‘Display Commission, Sales Tax, Advertisement and Total Amount to the output fields.

txtCommission.Text = Decimal.Round(commission, 2)

txtAdv.Text = Decimal.Round(adv, 2)

txtSalesTax.Text = Decimal.Round(sTax, 2)

lblTotalAmt.Text = Decimal.Round(Total, 2)

Catch ex As Exception

lblError.Text = ex.Message

End Try

End Sub

End Class

Buy Essay
Calculate your paper price
Pages (550 words)
Approximate price: -

Help Me Write My Essay - Reasons:

Best Online Essay Writing Service

We strive to give our customers the best online essay writing experience. We Make sure essays are submitted on time and all the instructions are followed.

Our Writers are Experienced and Professional

Our essay writing service is founded on professional writers who are on stand by to help you any time.

Free Revision Fo all Essays

Sometimes you may require our writers to add on a point to make your essay as customised as possible, we will give you unlimited times to do this. And we will do it for free.

Timely Essay(s)

We understand the frustrations that comes with late essays and our writers are extra careful to not violate this term. Our support team is always engauging our writers to help you have your essay ahead of time.

Customised Essays &100% Confidential

Our Online writing Service has zero torelance for plagiarised papers. We have plagiarism checking tool that generate plagiarism reports just to make sure you are satisfied.

24/7 Customer Support

Our agents are ready to help you around the clock. Please feel free to reach out and enquire about anything.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

HOW OUR ONLINE ESSAY WRITING SERVICE WORKS

Let us write that nagging essay.

STEP 1

Submit Your Essay/Homework Instructions

By clicking on the "PLACE ORDER" button, tell us your requires. Be precise for an accurate customised essay. You may also upload any reading materials where applicable.

STEP 2

Pick A & Writer

Our ordering form will provide you with a list of writers and their feedbacks. At step 2, its time select a writer. Our online agents are on stand by to help you just in case.

STEP 3

Editing (OUR PART)

At this stage, our editor will go through your essay and make sure your writer did meet all the instructions.

STEP 4

Receive your Paper

After Editing, your paper will be sent to you via email.