Write a program to process stock data

Assignment Help Basic Computer Science
Reference no: EM13936144

Write a program to process stock data. The stock data should be read from a text file containing the following data: stock code, stock name, amount invested (XXX.XX), shares held, and current price. Sue the internet or your local paper to gather data on at least 20 stocks.
As each stock is read, insert it into a doubly linked list. The first logical list should be ordered on the stock code. The second should be ordered on the gain or loss for the stock. Gain or loss is calculated as the current value of the stock (shares held times current price) minus the amount invested. Include at least one loss in your test data.

After building the lists, display a menu that allows the user to display either logical list forward or backward (a total of four options). Each display should contain an appropriate heading and column caption.
The program should be written in the below three languages:
Fortran, Pascal and Ada

Reference no: EM13936144

Questions Cloud

Compute the measures of central tendency : What kinds of things might happen if a user group and an information systems group worked for a few months on a new health record system without some clear project management - Why is it important to know whether a research article is from a peer-r..
Customers needs and buying behaviour : PESTLE analysis UK hotel sector with particular note on Radisson Blu in LONDON Conduct secondary market research to collect appropriate market data and information to provide evidence of market demand, customers' needs and buying behaviour to just..
Analyze the marketing strategy (4 p) of the product : Student are required to select a product (for example: shampoo, car or food) from the brand given from a company and analyze the MARKETING STRATEGY (4 P'S) of the product.
Construct a contingency graph for a short straddle : Currency option contingency graphs.  The current spot rate of the Singapore dollar (S$) is £0.34. Construct a contingency graph for a short straddle using these options.
Write a program to process stock data : Write a program to process stock data. The stock data should be read from a text file containing the following data: stock code, stock name, amount invested (XXX.XX), shares held, and current price. Sue the internet or your local paper to gather..
Describe the vulnerability that the attack exploits : Describe the vulnerability that the attack exploits, including how or why the vulnerability exists, what versions of software are vulnerable. Include a technical overview of the category of vulnerability (for example, command injection, buffer ove..
What is maggies total profit from a long straddle position : What is Maggie's total profit or loss from a long straddle position? What is Maggie's total profit or loss from a long straddle position if the value of the dollar is 0.60 euro at option expiration?
Describe the nature of school counselor-student relationship : Describe the nature of the school counselor-student relationship and its relative importance, both according to your view and the perspective of your chosen theory(ies). (Be specific with regard to your interest in Elementary, Middle/Jr. High Scho..
What will be the equilibrium price and output : A monopoly produces widgets at a marginal cost of $10 per unit and zero fixed costs. It faces an inverse demand function given by P = 50 - Q. Which of the following is the marginal revenue function for the firm?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Contrast the network connectivity

Compare and contrast the network connectivity in the following two diagrams.

  Find crc using modulo two arithmetic or polynomials

For a pattern P = 10011, and a message D = 10010011011, find, using modulo 2 arithmetic or polynomials, the CRC, then the string T to be transmitted.

  Good meetings in software development life cycle

Provide three words or phrases that explain why "good meetings" are important during the Software Development Life Cycle?

  Range of decimal values

A digital system uses 16-bit two's compliment data representation. What is the range of decimal values it can represent?

  What is the new profit maximizing number of students

What is the relevance of the marginal rule (MR = MC) in your decision making?

  What exactly active directory folders purposes

Active Directory folders (not shared folders) are unique objects in Active Directory.

  Write a president class in java

Write a President class in java which will keep track of the following information of any president of the United States: Name,President Number,Date of birth and Date of death.

  Describe how they are similar

5.  Cloud computing is used as a means to provide off-site computing power to an organization. Compare cloud computing with grid computing and describe how they are similar and at least one way in which they differ.

  Algorithm beginning of new talk-time-stamps of rtp packets

Explain the algorithm which uses sequence numbers and time stamps of RTP packets to show the beginning of new talk spurt?

  Class stubs and implemenatation for the following program

Need a OOP Unit Tests, Class stubs and Implemenatation for the following program using this SDD. This should be created in ArgoUML using JAVA

  Horizon books is a bookstore in downtown madina munawara

Horizon Books is a bookstore in downtown Madina Munawara. It carries an inventory of approximately 50,000 books. Customers come in and browse the shelves, select their books, and take them to one of three cashiers positioned in different parts of the..

  What features of the product could serve as design variables

Conceive a modern real life product ( e.g. , smartphone, solar PV, or PHEV) where optimization can be used to further improve its design. Describe the scope of applying optimization in that context. Specifically state (i) what objectives will need to..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd