MIS 304 Homework Example 4 and 5 - Lemonade Stand III (1)

MIS 304 Homework Example 4 and 5 - Lemonade Stand III (1) -...

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

View Full Document Right Arrow Icon
M IS 304 HW 4 Example: Lemonade Stand I I I Because all Longhorns get great jobs out in the corporate world, you had to hire a Sooner to run your lemonade stand. He’s been making quite a few mistakes with your program, so you've decided to update your lemonade stand application one more time. Create an application that will calculate the total cost for each customer’s order. Follow all of the requirements for Lemonade Stand III Keep Option Strict On at the top of your code The user can leave EITHER the # of cups OR the #of cookies blank, BUT NOT BOTH. If the user does not enter a value for at least one of our items, give the user an error message and stop the
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: program. Use IF statements to make sure that the user has put a NUMBER in the textboxes for cups and cookies. Use another IF statement to make sure that the user has entered a POSITIVE number ACCUMULATOR: Modify the total items and cookie percentage to be running totals. The number of items should show all the items we sold that day. The cookie percentage should be the total number of cookies sold that day divided by the total items we have sold. (Use module level variables for this) COUNTER: Add a label to display the total number of customers for the day. (Use module level variables for this.)...
View Full Document

This note was uploaded on 11/29/2010 for the course MIS 301 taught by Professor Mccleod during the Spring '08 term at University of Texas at Austin.

Page1 / 2

MIS 304 Homework Example 4 and 5 - Lemonade Stand III (1) -...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online