The gain or loss for the stock

Assignment Help Basic Computer Science
Reference no: EM13936165

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: EM13936165

Questions Cloud

How might you try to use futures contracts : How might you try to use futures contracts on euros to capitalize on this tendency? How could you determine whether such a strategy would have been profitable in previous periods?
Short-term scheduler and observe its properties : All I/O requests will be handled in 40 milliseconds. That is, when a job is blocked and removed from the ready queue, it can be added back at the next opportunity if 40 milliseconds have expired. You do not need to schedule a timer to simulate the..
Conducting a marketing analysis of a product line : A student will pick a product or product line and conduct a marketing analysis for it. The size of the company is not a factor.
What happened to the futures price over the november : What do you think happened to the futures price over the month of November? Why? If you had known that this would occur, would you have purchased or sold a December futures contract in pounds on 1 November? Explain.
The gain or loss for the stock : 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..
How did managers manage projects before the invention : How did managers manage projects before the invention and application of computers and software? Think of all the great construction projects and inventions that were made without computer scheduling software from the pyramids to ships, castles, and ..
How your organisation uses technology roadmaps : Create an initial post in which you analyse how your company uses technology roadmaps. In your analysis, address how successful or unsuccessful the company has been in implementing that roadmap
Design and implement a character generator for dungeons : Use tables and formulas also from workshop file to complete assignment. Design and Implement a character generator for Dungeons and Dragons. It is to have the following specifications:
Calculate the magnitude of the torque due to the force of : Calculate the magnitude of the torque (due to the force of gravity) around this pivot point when the string makes a 45º angle with the vertical. The acceleration of gravity is 9.81 m/s 2.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Input data and output process

Input Data and Output Process

  Problem regarding the system analysis and design

The Association for Information Systems would like to make an online application for tracking undergraduate, graduate, and PhD academic programs in universities around the world. You have been hired as a consultant to redesign the system that will..

  Probability and statistics for computer science

Probability and Statistics for Computer Science  - What is the probability that V will get the project and if V gets the project, what is the probability that W did not bid

  Project management and virtual teams

Reading and Research Assignment #1Topic: Project Management and Virtual Teams1. Search the Web and locate three (3) Web sites that relate to the topic. These sites could be white papers or research documents found on research databases, commercial or..

  Write a program that reads in an integer

Write a program that reads in an integer, and breaks it into a sequence of individual digits. For example, the input 16384 is displayed as 1 6 3 8 4 You may assume that the input has no more than five digits and is not negative

  Explain how the method represents knowledge

Select a method for knowledge representation and reasoning that we have not covered in lectures and write 1{2 pages addressing the following: briefly describe how the method represents knowledge and include an example; briefly describe the inferenc..

  Explaining straight-line depreciation method

Explain in scholarly detail how to carry out Straight-line Depreciation Method calculations.

  Highlight element enables highlight the text.true or false

The highlight element enables you to highlight the text. True or False

  Explain why its difficult to support direct assess to files

explain why its difficult to support direct assess to files with variable length records. suggest a method for handling this type of file if direct access is required.

  Goals for the information technology strategic plan

Conduct a strengths, weaknesses, opportunities, and threats (SWOT) analysis for the business venture in question for the company - goals for the information technology strategic plan

  It architecture or enterprise architecture on information

Ascertain the importance of information management for the company or industry that you have chosen.Analyze the fundamental impact of IT architecture or enterprise architecture on information management for your chosen company or industry. Determine ..

  Write a program to display a simplified bill

Suppose automobile repair customers are billed at the rate of $35 per hour for labor. Also, suppose costs for parts and supplies are subject to a 5% sales tax.

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