Total amount of capital gain or loss

Assignment Help JAVA Programming
Reference no: EM13906754

Suppose that you are a financier and purchase 100 shares of stock in Company X in each of January, April and September and sell 100 shares in each of June and November. The prices per share in these months were:

  • Jan $10
  • Apr $30
  • Jun $20
  • Sep $50
  • Nov $30

Determine the total amount of your capital gain or loss using (a)FIFO (first in, first out) accounting and (b) LIFO (last in, first out) accounting (that is assuming that you keep your stock certification in (a) a queue or (b) a stack using C language). The 100 shares you still own at the end of the year do not enter the calculation.

Reference no: EM13906754

Visual display of internet data and information matters

Explain why the visual display of internet data and information matters? what makes the display effective? describe what you like about the design of websites and web resour

Write a java program to analyse log files

CAB302 Software Development Assignment: Test-Driven Development and Graphical User Interface Programming. Your task is to write a Java program to analyse log files and display

Define an adt for character strings.

Define an ADT for character strings. Your ADT should consist of typical functions that can be performed on strings, with each function defined in terms of its input and outp

Prompts the user for three first names

Write an application that prompts the user for three first names and concatenates them in every possible two-name combination so that new parents can easily compare them to fi

Write a complete java program called parser

Write a complete Java program called Parser that gets a comma-delimited String of integers  (eg "4,8,16,32,...") from the user at the command line and then converts the String

Write a complete program which computes the sum

Write a complete program (actually complete the one on the exam) which computes the following sum: ( 100 / 1 ) + ( 99 / 2 ) + ( 98 / 3 ) + ( 97 / 4 ) + ... + ( 3 / 98 ) + (

Create a bar chart that illustrates sales.

Hal's Used Cars has four salespeople named Pam, Leo, Kim, and Bob. Accept values for the number of cars sold by each salesperson in a month, and create a bar chart that illust

Compare the complexity based on the running time

Write a driver java program, based on the provided source code, to rum those 4 algorithms for the Maximum Subsequence Sum problem and compare the complexity based on the run

Reviews

Write a Review

 
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