Answer Case Problem #4 on page 3.54 of your Visual Basic
textbook. Hand in a copy of your student disk.
or
Complete the following EDUCATION PRODUCTS case:
Education Products is a wholesale company that sells educational supplies
to both public and private schools in the southwestern United States and
Mexico. Products sold to private schools in the U.S. are taxed at the tax
rate for the state. Products sold to public schools in the U.S. and to
all schools in Mexico are not taxed. Antonio Cavallo, the manager of the
tax department, would like you to create a program to allow him to type
in a product description, price, and quantity. Each of these fields must
be filled in. You can check that the fields are complete and accurate using
a nested If statement. If any fields are blank, the program should use
a message box to inform the clerk that a specific field is missing. Use
a CheckBox object to indicate if the sale is taxable or not. If the sale
is taxable, make visible a set of option buttons in a control array to
indicate in which state the product will be sold. The program should calculate
any applicable tax using the Case statement in a general procedure. The
total price and tax will be formatted after the user clicks a Calculate
button. Also provide both a Clear and Exit button. The state taxes that
will be applied in the program as Texas = 7%, Arizona = 4%, and New Mexico
= 5%. Save your form and project with the name eduprod on your student
disk and submit it.
This page was posted on 4/16/97 and last modified on 3/19/98. It is maintained by Prof. Steven Gordon at Babson College. Comments should be sent to gordon@babson.edu