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

  Display at least the waiting at each floor

From the 1st floor, the elevator can only go in one direction - up. And from the 12th floor the elevator can only go in one direction - down.

  Write a method reversefirstk

Write a method reverseFirstK that accepts an integer k and a queue of integers as parameters and reverses the order of the first k elements of the queue, leaving the other elements in the same relative order.

  Implement the hierarchy for a university with java classes

Implement the above hierarchy for a university with Java classes and their appropriate relationship. You can go three levels deep in the hierarchy (community member, employee, student, alumnus, faculty, staff). Use your best judgment of instance v..

  Write a java program to play game of lightsout

Write a java program to play game of LightsOut - prepare a java program to play the game of lightout.

  Prompts the user to input a decimal number

Write a program that prompts the user to input a decimal number and ouputs the number rounded to the nearest integer.

  Which drags html list items to and from a javascript array

Write a program which drags html list items to and from a javascript array.

  Find method of the class is passed each of the targets

How many calls to the recFind method of the ArraySortedList3 class are made when the find method of the class is passed each of the targets?

  What is abstract class and how it differ from regular class

What is an abstract class and how does it differ from a regular class? Why are abstract class constructors defined as protected

  Write a functions that takes an array of doubles

1. Write a function that is passed a single integer and then calculates the factorial of that number. A factorial is the product of the integer times all of the integers below it stopping at 1. So n!= n*(n-1)*(n-2).......3.2.1

  Alter the prototype form page by javascript function

Alter the prototype form page so that when JavaScript function has verified that all the required fields have been filled, cookie is added to user's computer.

  Design the static method to find the smallest number

A Given a "Complex" class with all the standard methods for complex numbers, design the static method below to find and return the smallest complex number - Design the static method to find and return the smallest complex number.

  This project is designed to exercise all the java tools

This project is designed to exercise all the Java tools that you have learned about this term: classes/objects, variables, decision constructs, loops, arrays, encapsulation, overloading, inheritance, error handling, and application deployment.

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