title: Visual Basic Function Procedure
body: <p>I need help with the following H.W. problem. I have done everything except the instructions I numbered. Please help! </p>
  
  <p>A furniture manufacturer makes two types of furniture—chairs and sofas. 
  The cost per chair is $350, the cost per sofa is $925, and the sales tax rate is 5%.
  Write a Visual Basic program to create an invoice form for an order. </p>
  
  <p>After the data on the left side of the form are entered, the user can display an invoice in a list box by pressing the Process Order button. </p>
  
  <p>The user can click on the Clear Order Form button to clear all text boxes and the list box, and can click on the Quit button to exit the program. </p>
  
  <ol>
  <li><p>The invoice number consists of the capitalized first two letters of the customer’s last name, followed by the last four digits of the zip code. </p></li>
  <li><p>The customer name is input with the last name first, followed by a comma, a space, and the first name. However, the name is displayed in the invoice in the proper order. </p></li>
  <li><p>The generation of the invoice number and the reordering of the first and last names should be carried out by Function procedures.</p></li>
  </ol>