HiDetermine the amount of a diet soda unsafe for consumption. This diet soda contains artificial sweetener that kills mice.
Program input is:
1) amount of artificial sweetener fatal to a mouse
2) weight of the mouse
3) weight of a dieter.
The program should ask for the weight at which the dieter will stop dieting and not his current weight.
The diet soda contains 1/10th of 1% artificial sweetener.
Use a variable declaration w/ the const modifier to give a name to this fraction.
Express the percent as the double value 0.001.
I know this is simple maths but I'm having trouble understanding what/how it wants me to exactly do.
a) What should the amount of sweetener be in? mg? g?
b) What does this mean The diet soda contains 1/10th of 1% artificial sweetener?
c) Where/when should the double percent(0.001) used?