@@ -0,0 +1,1654 @@
+/*%0A *  A program that calculates how much diet soda is safe to drink without %0A *  dying while on a diet.%0A */%0A%0Apackage dietsoda;%0A%0A/**%0A *%0A * @author k8port%0A */%0A%0Aimport java.util.Scanner;%0Aimport java.text.DecimalFormat;%0A%0Apublic class DietSoda %7B%0A%0A    /**%0A     * @param args the command line arguments%0A     */%0A    public static void main(String%5B%5D args) %7B%0A        %0A        // declare variables%0A        double killMouse; // amount of sweetener that killed the mouse%0A        double killYou;  // amount of sweetener needed to kill you at goal weight%0A        double mouseWeight;%0A        double startWeight;%0A        double goalWeight;%0A        Scanner blah;%0A        DecimalFormat pattern;%0A        %0A        // initialize the mouse's information%0A        killMouse = .039; // amount in grams%0A        mouseWeight = .48; // amount in pounds%0A        %0A        // initialize the dieter's information %0A        blah = new Scanner(System.in);%0A        System.out.println(%22Enter your current weight in pounds.%22);%0A        startWeight = blah.nextDouble();%0A        System.out.println(%22Enter your goal weight in pounds.%22);%0A        goalWeight = blah.nextDouble();%0A        %0A        // calculate number of diet sodas a day%0A        killYou = (killMouse * goalWeight) / mouseWeight;%0A        System.out.println(%22Amount needed to kill you is %22 + killYou + %22 grams%22);%0A        double total = killYou / (killYou * .001);%0A        int sodaTotal = (int) total;%0A        %0A        // output%0A        pattern = new DecimalFormat(%22#0.0##%22);%0A        System.out.println(%22The number of diet sodas you can drink a day is %22%0A                + pattern.format(total));%0A        %0A%0A        %0A        %0A    %7D%0A    %0A%7D%0A

Create DietSoda.java