In the following exercises, write a program to carry out the task. The program should use variables for each of the quantities.
Price-to-Earnings Ratio Request a company’s earnings-per-share for the year and the price of one share of stock as input, and then display the company’s price-to-earnings ratio (that is, price/earnings). See Fig. 3.18.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.