program3 - import import import import import i import...

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

View Full Document Right Arrow Icon
import java.util.*; import java.lang.*; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; i //Jeremy Debruce //Professor Campbell //Computer Science One public class program3 { static Scanner scan = new Scanner(System.in); public static void main(String[] args) { //variables int customer, sq_yd; double cost_per_sq_yd, labor_per_sq_yd, prep_cost, discount; double cost_for_carpet, cost_for_labor, tax_on_carpet, charge_to_customer, tax; System.out.println("************************************************************"); System.out.println("* Maripot Carpet Store *"); System.out.println("*The purpose of this program is to compute Customer Bills *"); System.out.println("* By Inputing from the Keyboard. *"); System.out.println("************************************************************"); // input System.out.println("Please enter the following in interger form:"); System.out.println("Enter number of customers. Then press Enter"); customer= scan.nextInt();
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 06/17/2011 for the course COMP 2301 taught by Professor Staff during the Spring '10 term at Kennesaw.

Page1 / 3

program3 - import import import import import i import...

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