Answer:
Capital gain tax = $1,540.
Explanation:
As per the data given in the question,
For stocks of A
Profit = (selling price - purchasing price) × units
= ($19 - $23) × 200
= -$800
For stocks of B
Profit = ($57-$41) × 600
= $9,600
Total profit = profit for stock A + profit for stock B
= -$800 + $9,600
= $8,800
Therefore, capital gain for both year = $8,800
Tax rate = 35%
Capital gain tax = Capital gain × Tax rate
= $8,800 × 35%
=$3,080
As share holds for more than a year,
So, Capital gain tax = $3,080 ÷ 2 = $1,540.
The correct answer for the for loop is:
for (int i=1; i<200; i++){
if ((i%2)==0 && (i%3)==0){
cout << i << " ";
}
}
Python offers three options for running the loops. For iterating repeatedly through a sequence, use a for loop (that is either a list, a tuple, a dictionary, a set, or a string). This functions more like an iterator method seen in other object-oriented programming languages and is less like the for keyword found in other programming languages. The for loop allows us to run a series of instructions once for each element of a list, tuple, set, etc. There is no need to set an indexing variable before using the for loop.
Write a for loop that prints, in ascending order, all the positive integers less than 200 that are divisible by both 2 and 3, separated by spaces.
Learn more about loops here:
brainly.com/question/25955539
#SPJ4
Answer:
7.8%
Explanation:
The formula and the computation of the return on assets is shown below:
Return on assets = (Net income) ÷ (average of total assets)
where,
Net income is $32,500
And, the average of total assets equal to
= (Beginning assets + ending assets) ÷ 2
= ($405,000 +$425,000) ÷ 2
= $415,000
So, the return on assets is
= $32,500 ÷ $415,000
= 7.8%