Lab 10 - 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 10 Lab Purpose: The purpose of this lab is to provide more experience with arrays and lists in Java. Lab Instructions: Description: You work for small, but growing, used car dealership. Your boss would like to view the inventory of cars each day. The dealership is not very sophisticated in the data it tracks. It just tracks make, model, year, wholesale purchase price, and sticker price. Make is the “brand”, for example Ford, Toyota, Subaru, Kia. The model would be “Mustang,” “WRX,” “Sportage.” The wholesale purchase price is the price paid by the dealership for the car. The sticker price is displayed on the car on the lot. Write a program in Java that will ask the user for cars that were added or sold from the lot. First, ask the user which cars were added to inventory. Then, ask the users for the cars that were sold (deleted from inventory). You can assume that cars sell for sticker price (no haggling over price). Your program should then display the average sales in terms of number of cars and dollars as well as the total profit that day. Assume profit is just the difference between wholesale purchase price and sticker price. You can make your program easier to use by using dialog boxes instead of the console. Please note that this is optional and you don’t lose any points by not using dialog boxes since we did not cover this in class.
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.

Page1 / 2

Lab 10 - 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