The ACE inhibitor is likely to be contributing to your cough and may be the sole cause. Talk with your doctor. You may be able to switch to a different medicine, such as an angiotensin receptor blocker, or ARB. These drugs are similar except they don't usually cause a cough.
If you would like, you may continue with this decision guide to learn about other reasons that may be contributing to your cough.