Help:
This is my first time on this site , and I have this assignment i been working on and i'm lost someone please help Here is the problem :
1.) A government research lab has concluded that certain chemicals commonly used in foods will cause death in laboratory mice. A friend of yours is desperate to lose weight but cannot give up soda pop. Your friend wants to know how much diet soda pop it is possible to drink without dying as a result. Write a program to supply an answer. The input to the program is the amount of artificial sweetener then needed to kill a mouse, the weight of the mouse, and the weight of the dieter. To ensure the safety of your friend, be sure the program will request the weight at which the dieter will stop dieting, rather than its current weight. Assume that diet soda contains one-tenth of 1% artificial sweetener.
So Far I have this and i'm totally lost..
public class Sweetner
{
private static final double POUNDS_TO_KG = 1/2.2;
private static final double WIEGHT_CAN_KG= 14.0;
private static final double LETHAL_SWEETENER_AMOUNT_FOR_MOUSE = 0.5;
private static final double WIEGHT_OF_MOUSE_KG= 22.0;
private static final double STARTING_WEIGHT= 45359.237;
private static final double FINAL_WEIGHT = 31751.44;
private static final double PERCENT_SWEETENER = 0.001;
public static void main (String[]args)
{
double weight_kg;
double SweenterCan,StartingWeight, DesiredWeight, CansKilled;
System.out.println("For a" + STARTING_WEIGHT + "person:");
weight_kg = POUNDS_TO_KG * WEIGHT_CAN_KG * PERCENT_SWEETENER;
CansKilled = WEIGHT_OF_MOUSE* LETHAL_SWEETENER_AMOUNT_FOR_MOUSE;
System.out.println("Cans" + Canskilled + "kills");
StartingWeight = LETHAL_SWEETENER_AMOUNT_FOR_MOUSE / WEIGHT_OF_MOUSE* amount_soda * STARTING_WEIGHT;
System.out.println("At 100 pds" + StartingWeight + "Cans that can kill");
DesiredWeight = LETHAL_SWEETENER_AMOUNT_FOR_MOUSE/ WEIGHT_OF_MOUSE * amount_soda *STARTING_WEIGHT * FINAL_WEIGHT;
System.out.println(" At 70 pds" + DesiredWeight + "Cans that can kill");
SweetnerCan= CanKilled+StartingWeight+DesiredWeight + amount_soda;
System.out.println("Number of bottles of sweetener that kills ="+sweentenerKilled);
}
}
What am i doing wrong ??