Question: MN260 Exam1 Part 2 A store called Everything Cost $2.00 is looking for a program to help them determine what merchandise they should purchase. When
MN260 Exam1 Part 2 A store called "Everything Cost $2.00" is looking for a program to help them determine what merchandise they should purchase. When they purchase in ventory, they will purchase the inventory by "lots. For a "1ot" they are given the cost for the lot and the number of items in the lot. You will design a form that a user will enter the number of items in a lot and their cost for the lot. Also, on the form you will place and Net Sales will be displayed as labels. a button labeled "Calculate". After the user presses Calculate the Gross Sales When the user clicks on the calculate button the following will occur: 1. Calculate the Gross Sales (Gross Sales Number of Items $2.00) 2. Calculate the Net Sales (Net Sales Gross Sales-Cost for Lot) 3. Display the Gross Sales and Net Sales. These should be labeled in Currency Format. 4. If Net Sales is a negative number display a message box that will indicate that Sales are negative and the Lot is bad deal. (Numbers do not need be displayed on the message box.) Two other features are desired for the program: 1. In the text boxes for Number of Items and Cost for Lots only numbers, or the back space can be entered If one of the values changes in the above described text boxes, the labels for Gross Sales and Net Sales will be cleared. 2. Test Numbers Number of Items: 100 Cost for Lot: $300 Results Gross Sales: $200.00 Net Sales: $-100.00 Message box is displayed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
