Dividend Calculator
Input fields for stock price, dividend amount, and shares owned, a "Calculate Dividend" button, and a display area for the dividend income. When the button is clicked, the function calculateDividend computes the dividend income based on the provided inputs.
Post a Comment