Code an application that calculates and displays a customer’s discount and the total amount

profileThehonest
 (Not rated)
 (Not rated)
Chat

Code an application that calculates and displays a customer’s discount and the total amount the customer owes. Create a Visual Basic Windows application. Use the following names for the solution, project, and form file, respectively: Mingo Solution, Mingo Project, and Main Form.vb. The user will enter the quantity ordered and price (per unit) in the text boxes. Code the Calculate button’s Click event procedure. The procedure should verify that the text boxes contain valid data. (Hint: Use the
Boolean value returned by the TryParse method.) If both text boxes contain valid data, the procedure should calculate and display both a ten percent discount and the total amount the customer owes; otherwise, it should display an appropriate message in a message box. Display the discount with two decimal places. Display the total due with a dollar sign and two decimal places. The discount and total due should be removed from the interface when a change is made to the contents of a text box. Save the solution and then start and test the application. Close the Code Editor window and then close the solution

 

 

    • 7 years ago
    A+ Work
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      qmingo_solutionq.zip