Lab 6 - MGMT 29000-002 Programming for Business...

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

View Full Document Right Arrow Icon
MGMT 29000-002 Programming for Business Applications Fall 2011 Lab 6 Lab Purpose: The purpose of this lab is to provide more experience with Java. Lab Instructions: Description: Design, write, test, and implement a Java program that will compute the total bill for five items in a shopping cart. Your program should prompt the user to enter the price of each item (your program will provide the item name). Your program then should sum the prices and add 7% sales tax (you should assume that each item is taxable.) Your program should then output the final bill including the individual item name and price (each item should be on a separate line), a single line under the item five items that shows the sales tax charged, and then a single line under that showing the total bill including the items and tax). You should use printf() statements to format your output neatly. Also, make sure to use comments to explain your program. Be sure to do a good job of testing (remember our classroom discussions, especially for Java programs).
Background image of page 1

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

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

This note was uploaded on 04/04/2012 for the course MGMT 290 taught by Professor Staff during the Fall '08 term at Purdue University-West Lafayette.

Page1 / 2

Lab 6 - MGMT 29000-002 Programming for Business...

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