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

Questions Cloud

How would the selling price of the bond be determined : On March 1, 2011, Sillicon Company sold its 5-year, $1,000 face value, 9% bonds dated March 1, 2011 at an effective annual interest rate (yield) of 11%. Interest is payable semi annually, and the first interest payment date is September 1, 2011. How ..
Calculate the future value of the account one year after : An account containing £5000 is to be the recipient of an annuity with a term of 8 years, and a periodic payment of £1000. Calculate the future value of the account one year after the last deposit has been made.
Company manufactures electronic equipment : Vista Company manufactures electronic equipment. It currently purchases from an outside supplier the special switches used in each of its products. The supplier charges Vista $2 per switch. At what production volume level would Vista be indifferent b..
Assuming a flexible budget : The Hernandez Company budgeted for an output of 50,000 units. Budgeted amounts were as follows: direct material, $100,000; direct labor, $50,000; variable factory overhead, $75,000; and fixed factory overhead, $100,000. Assuming a flexible budget,
Total amount of capital gain or loss : 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 lang..
The materials price variance : Total production of 1,000 units of finished goods required 3,000 actual parts at $2.25 per part. The standard is 2.9 parts per unit of finished goods, at a standard price of $2.30 per part. Which of the following statements is true?
Statements about journal entries to record variances : Which of the following statements about journal entries to record variances is true?
Calculate the continuous compound annual rate of inflation : Calculate the continuous compound annual rate of inflation if the index of retail prices was 134.67 on the 1st of January 1995, and had risen to 204.78 by the 1st of January 2000.
How much was the labor efficiency variance : Vanzant produced 1,000 units of output. The production process normally requires 2 hours of labor per unit of output. The standard labor rate is $10 per hour but Vanzant paid $11 per hour. Actual hours needed to complete the production process were 1..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Create a class named employee and its subclasses

Create a class named Employee and its 3 subclasses named Contractor, HourlyEmployee, FullTimeEmployee. The class Employee hold first name and last name information, and defines two methods, respectively computing pay and vacation hours, that needs..

  What method do you use to set the location of a frame

Write a program that converts US dollars into Canadian dollars, as shown in the following figure. The program let the user enter an amount in US dollars and display it equivalent value in Canadian dollars when clicking the Convert button.

  Write an application that displays a table of the pythagorea

Write an application that displays a table of the Pythagorean triples for side1, side2 and the hypotenuse, all no larger than 100.

  Assume that you are developing a java program which uses

suppose that youre developing a java program that uses decimal numbers and youd like to control the formatting of your

  Output the number of tails using the constant array

Assume that this program compiles and runs. Assume that the user enters 5 0 (separated by a space) for input. What is the output. As always, be precise when showing your output. Output the number of Tails using the constant array for the "Tails" h..

  Morgellons disease is delusional

Why do some scientists say that Morgellons disease is delusional? When there have been fibers extracted from patients that cannot be identified? Isn't that physical proof that something is affecting these people physically?

  Create a calorie counter application

Create a calorie counter application. The user should be able to set a daily calorie maximum using preferences. Individual meal entries can be entered for the day and all information will be saved to a local file (Not SQLite)

  Write a recursive method called maxsum

write a recrusive method called maxSum that accepts a list of integers. L, and an integer limit n as parameters and use backtracking to find the maximum sum that can be generated by adding elements of L that do not exceed n.

  Write an interface for a bagadt that implements iterable

Write an interface for a BagADT that implements the Iterable interface. Include javadoc comments that will generate specifications for the BagADT so that someone who wants to implement this interface will know what each method does.

  Implement a set as a new class that is derived

A set is like a bag, except that a set does not allow multiple copies of any element. If you try to insert a new copy of an item that is already present in a set, then the set simply remains unchanged.

  Calculates the minimum maximum and average for each quiz

Write a Java application that calculates the minimum, maximum, and average for each quiz. Print the output results in a table format using a text area. Use loop and if statement control structures as well as Array data structure

  Use java or c++ to create a program for making the pizza

Make the Pizza example abstract, so that there are three kinds of factories under one AbstractPizzaFactory You can use Java or C++

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