A few things to clarify:
If the cure rate of drug 1 is greater than 0.9 then there will not be any drug that is 20% better, will it (meaning the drug has a cure rate greater than 1.25 according to your code)?
Drug 2 will be recommended if and only if the cure rate of drug 2 is at least 20% better than drug 1 and is better then drug 3? The same is for drug 3?
Is there an error on lines 9-10 and 16-17? Impossible to recommend drug 3?
|