Answer:
public class Drug {
public static void main(String[] args) {
int effectiveness = 100;
int months = 0;
while (effectiveness > 50) {
effectiveness *= 0.88;
months += 1;
}
System.out.println("The drug can remain on shelves for " + months + " months");
}
}
please let me know if this is correct! :D