Prog4 - /Phylicia Campbell /21 September 2009 /Java import...

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

View Full Document Right Arrow Icon
//Phylicia Campbell //21 September 2009 //Java import java.util.*; import java.lang.String; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; import javax.swing.JOptionPane; i public class Prog4 { //DecimalFormat static DecimalFormat td = new DecimalFormat ("0.00"); static Scanner scan = new Scanner(System.in); static String ch; s static int i, data, n_child, adults,num; static double adult_cost, dessert, roomrate, tiptax, deposit, atc, child_meal, tdc, ctc, tfc, t_tax, total_due, balance; c public static void main(String[] args) throws FileNotFoundException { //delare and intialize the variable / //while (infile.hasNext()) / System.out.println("***********************Caswell Catering************************"); System.out.println("Data C.Count A.Count A.Cost Dessert R.Rate T/Tax Deposit"); System.out.println(" 1 7 23 12.75 1.00 45.00 .18 50.00 "); System.out.println(" 2 3 54 13.50 1.25 65.00 .19 40.00 "); System.out.println(" 3 15 24 12.00 0.00 45.00 .18 75.00 "); System.out.println(" 4 2 71 11.15 1.50 0.00 .06 0.00 "); System.out.println("*************************************************************** "); System.out.println(); System.out.println(); System.out.println(" Caswell Catering and Convention Service "); System.out.println("
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.

Page1 / 4

Prog4 - /Phylicia Campbell /21 September 2009 /Java 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