From the given values, it seems as if the missing key to value here is not the margin of error, but instead, the standard error. The formula for standard error is as follows:
SE = sqrt ( x(n-x)/n^3 )
Substituting the given values:
SE = sqrt ( 78(100-78)/100^3)) = 0.04