1.6.7: MLA Citation code example
Example: 1.6.6: mla citation awnser
mport java.util.*;
public class NightOut
{
public static void main(String[] args)
{
Scanner imput = new Scanner(System.in);
double dinner = 14.56;
int minigolf = 10;
double dessert = 4.56;
double grandtotal = dinner + 2*minigolf + dessert;
System.out.println("How much did dinner cost?");
System.out.println("Dinner: $" + dinner);
System.out.println("How much is mini-golf for one person?");
System.out.println("mini-golf: $" + minigolf);
System.out.println("How much did dessert cost?");
System.out.println("Dessert: $" + dessert);
System.out.println("Grand Total: $" + grandtotal);