2 doctors weighed in:

Can you take viagra (sildenafil) and 10 mg ramipril together?

2 doctors weighed in
Dr. Alvin Lin
Internal Medicine - Geriatrics
1 doctor agrees

In brief: Yes, but . . .

Always tell your prescribing doc everything that you're taking, both prescription & non-prescription over-the-counter medications as well as dietary supplements.
Use any drug-drug interaction checker to look for reasons why you shouldn't take combination of pills. Ideally, your pharmacist should warn you, too, if you get everything from same store. http://www.drugs.com/drug_interactions.html

In brief: Yes, but . . .

Always tell your prescribing doc everything that you're taking, both prescription & non-prescription over-the-counter medications as well as dietary supplements.
Use any drug-drug interaction checker to look for reasons why you shouldn't take combination of pills. Ideally, your pharmacist should warn you, too, if you get everything from same store. http://www.drugs.com/drug_interactions.html
Thank