Visual Basic Programming Project

FratBro23
Category:
Computer Science
Price: $45 USD

Question description

Develop an application to determine the amount of a Realtor’s commission based on home sales as follows:

Under $200,000 = 4%

$200,000 - $500,000 = 6%

Over $500,000 = 8%

Have the user enter the total sales amount, and how many homes were sold in that price range.  This is done by a call to an input subroutine with two parameters: the selling price and the quantity sold. The inputs will then be passed to another subroutine that calls a function to compute and return the commission. A third subroutine displays the results.  Note: you will need to pass by value and by reference.

Two sample inputs & outputs could be:

#1. Inputs: 3 homes sold for a total of $189,600.00

  Output: You sold 5 homes for $186,000. Your commission is $7,584.00

#2. Inputs: 5 homes, total $3,873,000.00

  Output: You sold 5 homes for $3,873,000.00.  Your commission is $309,840.00

Use any controls you deem appropriate.


Tutor Answer

(Top Tutor) Daniel C.
(997)
School: UIUC
PREMIUM TUTOR
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1821 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors