Companies and people often buy and sells stocks. Often they buy the same stock for different prices at different times. Say a person owns 1000 shares a certain stock (such as Checkpoint), she may have bought the stock in amounts of 100 shares over 10 different times with 10 different prices.

Companies and people often buy and sells stocks. Often they buy the same stock for different prices at different times. Say a person owns 1000 shares a certain stock (such as Checkpoint), she may have bought the stock in amounts of 100 shares over 10 different times with 10 different prices. In this assignment, you will be using a queue for storing data for FIFO accounting You should use an array based implementation for your queue based implementation or a linked list for implementing your queue. Your queue should have records with the following fields: The name of the stock (a string or int), the number of shares of a stock (an int), the purchase price (can be a decimal). You can assume that the first element of the structure is the security bought first, the second was bought second, etc. The user should be able to enter information about various stocks, the amount of shares, and the price. The user can then enter a query about a certain stock and the cost according to the FIFO accounting methods for a certain number of shares. The following could be your menu: Press 1 to enter a new stock Press 2 to find the LIFO and FIFO price for a stock. If 1 is pressed, the user needs to enter the stock symbol, and the number of shares, and the price. If 2 is pressed, the user needs to enter the stock symbol being queried and the number of shares in question.

Modules: 1. Menu driven Function

2. Creation of Stock Information

3. Query based on input

find the cost of your paper

Case Analysis

You can view the article (the case), “The Man Who Got Honeywell’s Groove Backt”, by linking to the course EReserves  Follow the Case Analysis Outline given in your syllabus. This is….

Cost-Volume-Profit Analysis

  Assignment Content Purpose of Assignment  The Case Study focuses on CVP (Cost-Volume-Profit), break-even, and margin of safety analyses which allows students to experience working through a business scenario and….

Case Study: Telco Corporation

Telco Case Study examines the revenue impact of Customer Service. You must provide a two page write-up of the case and use the questions (brief notes in red provided to….