Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Deli Order System: Calculate Food Cost with Deals & Taxes, Assignments of Information Technology

An assignment for a programming course where students are required to develop a program that allows users to buy various items from a deli menu, apply special deals, calculate taxes, and display a bill. Instructions for designing the user interface, writing the program, and submitting the assignment.

Typology: Assignments

Pre 2010

Uploaded on 08/09/2009

koofers-user-p1u
koofers-user-p1u 🇺🇸

10 documents

Partial preview of the text

Download Deli Order System: Calculate Food Cost with Deals & Taxes and more Assignments Information Technology in PDF only on Docsity! IST 256 Applications Programming for Information Systems Assignment 1 DELI DELIGHT Due September 22, 2008 at the beginning of class At the food court in the local mall, the deli has a kiosk that will allow customers to select items from the menu, specify how many of each item to buy, and see how much an order will cost. The menu includes: Submarine sandwiches $4.00 Bagel with cream cheese $1.50 Potato Chips $1.00 Soft Drinks $1.75 The store also offers the following special deal: if you buy more than three of any item, then you get one free. (E.g., if you order 4 Potato Chips, then you pay for only 3.) The total cost of the order, after taking any discount for the special deal, will include New York State sales tax at 8%. Write a program that performs the following operations: • Allow the user to buy one or more of any or all of the items. • If the user buys more than 3 of any type of item, then they get 1 of that item free. • When the user is done, display a bill showing the order, with the name and the number of each item, the subtotal of the item prices, the tax and the grand total. It should also show the free item information, if the user qualified. • Allow the user to clear the items and totals in order to start over. When you develop the program, follow these steps: • Design the user interface: o Design the layout of the form o Decide what each button will do • Write the program o Decide on the names and types of variables and where to declare them o Write comments on the top of the program, including your name and what the program is for o Write comments before each button-click subroutine with the description of what it does o Write other comments on statements as necessary
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved