you only know the dividend yield percent and the payment of dividend?…let’s say 8 percent dividend yield and .40 dividend per share.
It is a hypothetical question, there isn’t any company behind it. How would one figure out the selling price IF you only had the dividend yield AND the dividend payout per share.

Muga and Smiley, he said this is just a hypothetical question with NO STOCK behind it. This is purely a math (algebra, which I haven’t used since high school 45 years ago) question "8 percent of X = $2.40" and should be asked in the math/science section. Since $2.40 is 10% of $24.00 I knew the answer was more than $24.00. On my calculator I entered $2.40 divided by 8% and out came $30.
Look at the Stock Exchange website of company whose stock you’re interested in buying is listed. The Stock Exchange where the public company is listed is the best place to find info about share/stock prices etc. Publicly traded companies also have info. for investors in their websites under investor info links. There they list info like annual/financial reports and other things like share/stock prices etc
ummm…look in the business section of the paper and read the Stock Table it is listed on.