You are on page 1of 1

NAME_________________________________ HOUR_____ Beginning Programming Mingo Sales Ex 2 pg 353 Lesson 4B Scoring Rubric 15 POINTS

This application determines the price of an order depending on whether or not the buyer is a wholesaler. If the buyer is a wholesaler they get a discount. Code 2 Test Printout 1. Name and description 2. Option Explicit 3. Code Commented 4. Clear 5. Exit 6. Calculate Button correct Declare variables Get the quantity from the textbox. Get the price from the textbox Calculate the totaldue If the person is a wholesaler then calculate the discount update the totaldue else discount is 0.0 end if Display the discount Display the totaldue 2 pts __________ 4 units @ $10 - wholesaler 2 units @ $5 - non-wholesaler 1 pt 1 pt 1 pt 2 pts 1 pt 7 pts __________ __________ __________ __________ __________ __________

TEST DATA -

You might also like