Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package restaurantcalc;
- import java.util.Scanner;
- import java.text.DecimalFormat;
- /**
- *
- * @author Sebastian
- */
- public class RestaurantCalc
- {
- public static void main(String[] args)
- {
- double mealCost;
- Scanner Keyboard = new Scanner(System.in);
- //Ask for Meal Cost
- System.out.print("How much was the meal? ");
- mealCost = keyboard.nextLine();
Add Comment
Please, Sign In to add comment