{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Program2

# Program2 - import import import import import i import...

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

import java.util.*; import java.lang.*; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; i //Jeremy Debruce //September 14 2007 //Professor Campbell //Computer Science One //Program2 public class Program2 { static Scanner scan = new Scanner(System.in); public static void main(String[] args) { //variables int Noc, Noa; double Cost_Per_Adult,Cost_Per_Child,Cost_Per_Dessert, Room_Fee, Tip_Tax1, Deposit; double Tip_Tax,Cost_Dessert,Total_Food_Cost, Plus_Tip_and_Tax, Room_rate, Less_Deposit; double T_Cost, Total_Due, Cost_Deposit, Balance_Due, T_Cost_Child, T_Cost_Adult, Total_Balance; T System.out.println("************************************************************"); System.out.println("** The Caswell Catering Bill's **"); 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("Entet Number of Children. Then Press Enter"); Noc= scan.nextInt(); System.out.println("Enter Number of adults. Then Press Enter"); Noa= scan.nextInt();

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 3

Program2 - import import import import import i import...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online