package eatPurchace java code
package eatPurchace
public class Purchase {
public static void main(String[] args) {
int pizzaSlice;
int sodaDrink;
int totalPurchase;
pizzaSlice = 2.99;
sodaDrink = 2;
totalPurchase = pizzaSlice + sodaDrink;
System.out.print("Your total purchase for today is ");
System.out.print(totalPurchase);
System.out.print(" USD");
}
}