|Using Sample Projects > Running MIDP and CLDC Sample Projects > Running the Demos Sample Project > Stock|
What If? is an application that asks for the original purchase price and the number of shares you own. It calculates your profit or loss based on the current price.
Select a stock symbol.
Enter the purchase price and the number of shares, then press Calc.