Question
Visual Basic Please complete the following and submit it. Stock Price Profit As a purchaser of stocks, I want a simple application which can show
Visual Basic
Please complete the following and submit it.
Stock Price Profit
As a purchaser of stocks, I want a simple application which can show my net gain of loss. Stocks are purchased at a set price for a number of shares. The current stock price probably varies from the purchase price. The owner of the stock will want to know the gain or loss of the stock.
Net gain or loss is equal to (current price minus purchase price) times the number of shares purchased.
In chapter 2, we discussed three events (click, enter and leave), will use them here as well as other projects.
Story | As a / an | I want to | so that | Notes | ||||
Set up project | Stock Purchaser | Have an application | I can track profitability of my stocks | Setup a project |
| |||
Write pseudocode | developer | understand the stock price profit application | I can build the application without errors | In most agile development teams, this would just be a task or an issue. |
| |||
Gather inputs and determine profitability | Stock Purchaser | know if my stock is profitable | I will know my amount gained if sold | Enter in stock name, current stock price, original stock price, and number of shares. Press the profitability button to display net gain or loss |
| |||
Highlight focused text boxes | Stock Purchaser | when enter a text box change the forecolor to Dark Goldenrod and when leaving the textbox change the color to Dark Gray | I can clearly see where on the screen I am. |
| ||||
Highlight profits | Stock Purchaser | highlight my profits by making them bold and green | I can see my profits better |
| ||||
Highlight losses | Stock Purchaser | highlight my losses by making them red. | I can see my losses |
| ||||
Reset application | Stock Purchaser | clear the formatting and values of the text boxes | track another stock | |||||
Write summary | Stock Purchaser | display the name of the stock and state the current price is <> and my purchase price was <> and my gain or loss is <>. | I can see in long form | |||||
Test application | Stock Purchaser | test the application | I know it works as expected and understand | We would have several test cases here. We will discuss over time. | ||||
Change interface | Stock Purchaser | based on the testing, change the interface | it looks clearer, works smoother, and looks more appealing | interface tab order, spacing of objects, formulas work properly, etc. | ||||
Clean up pseudocode, comments and code | Stock Purchaser | clean up pseudocode, comments and code | so the application and comments, pseudocode and code are telling the same story | |||||
Zip project | Stock Purchaser | Zip project | it can be easily uploaded and graded | |||||
Submit project | Stock Purchaser | submit project | It can be graded | |||||
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started