# CS-104b-quiz2 - Quiz2 1 Semester SY 2015-2016 CS 104B st...

• Test Prep
• 2

This preview shows pages 1–2. Sign up to view the full content.

Quiz2 1 st Semester SY 2015-2016 CS 104B Directions: Create the given interface using Visual Basic 2010. Write the code on a yellow paper. 1. In Retail sales, management needs to know the average inventory figure and the turnover of merchandise. Create a project that allows the user to enter the beginning inventory , the ending inventory , and the cost of goods sold . Form: Include labelled text boxes for the beginning inventory, the ending inventory, and the cost of goods sold. After calculating the answers, display the average inventory and the turnover formatted in labels. Include command buttons for Calculate, Clear, and Exit. The formulas for the calculations are Beginning Inventory + Ending Inventory Average Inventory = ---------------------------------------------------- 2 Cost of goods sold Turnover = ----------------------------------- Average Inventory Code: Include procedures for the click event of each command button. Display the results in labels. Format the average inventory as currency and the turnover as a number with two digits to the right of the decimal point.

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Summer '06
• Jdusndnksm
• Numerical digit, Positional notation, Decimal, average inventory

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern