solution


Huntley Inc. wants an application that calculates and displays its gross profit ratio. The company’s accountant will enter the following three amounts: gross sales, sales returns, and cost of goods sold. The gross profit ratio is calculated by dividing the gross profit by the net sales. The gross profit is calculated by subtracting the cost of goods sold from the net sales. The net sales is calculated by subtracting the sales returns from the gross sales. Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Huntley Solution and Huntley Project. Save the application in the ClearlyVB2012Chap06 folder. Change the name of the form file on your disk to frmMain.vb. If necessary, change the form’s name to frmMain. Create a suitable interface. Include an Exit button. Code the Exit button’s Click event procedure and the problem’s algorithm. Be sure to use the TryParse method. Display the gross profit ratio with zero decimal places and a percent sign. Save the solution, and then start and test the application. Close the Code Editor window and then close the solution.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!