Dungeons and dragons – armor class problems

In each official version of Dungeons and Dragons (according to the tag in your question), a successful hit requires that the attacker throw at least your armor class, so only the "exact number" (or more, of course).

Different versions of D & D use different methods to calculate the attack roll, but in all cases the final result must be equal or better than the target CA.