An air conditioner that runs continuously removes moisture from the air, which can exacerbate coughs and sore throats. Unless you are still comfortable, you can turn up the temperature while reducing the air conditioner's operation, which may help your cough.