12) Profit and loss calculator
December, 2021The app compares present value of stocks with the price when they were bought and calculates profit, loss, profit percentage, and loss percentage. User input is validated for entering postive numbers only. The app does not let users enter text other than numbers. If the user enters zero or negative numbers, the app alerts user to enter a postive numbers only.
Live Project View Source