-In C Programming-
Write a program to display the total rainfall for a year. In addition, display the average monthly rainfall, and the months with the lowest and highest rainfall.
Create an array to hold the rainfall values. Create a 2nd parallel array (as a constant) to hold the abbreviated names of the months. I created my arrays to be 1 element bigger than needed, and then disregarded element [0] (so that my months went from [1] = "Jan" to [12] = "Dec").
Populate the array with the rainfall values entered by the user. Then, display the rainfall values. Display the 1st 6 months, followed by the last 6 months Then display the statistics (the total, average, lowest, and highest rainfall).
Calculate the total rainfall. After you get the total, you should be able to calculate the average (use the size (minus 1 if the array was 1 element bigger than needed) of the array). Then find the index of lowest rainfall and the index of highest rainfall. Finally, display the statistics, using the indexes that were found to get the lowest and highest rainfall value and the name of the month from the arrays.
Format the output to 1 decimal place.
There is no validation.
In: Computer Science
|
Lease term |
Four years, with the first payment due at lease commencement and the remainder annually at the lease anniversary date thereafter |
|
Annual payments, beginning at lease commencement and annually thereafter |
Commencement – $50,000 Year 2 – $53,000 Year 3 – $55,000 Year 4 -- $60,000 |
|
Discount rate |
4.5% |
|
PV of lease payments |
$204,577 |
Complete the following schedule to show the impact on the income statement and balance sheet.
|
Initial |
Year 1 |
Year 2 |
Year 3 |
Year 4 |
|
|
Cash lease payments |
|||||
|
Income statement: |
|||||
|
Lease expense recognized: |
|||||
|
Interest expense |
|||||
|
Amortization expense |
|||||
|
Total periodic expense |
|||||
|
Balance sheet: |
|||||
|
ROU asset |
|||||
|
Lease liability |
In: Accounting
You are considering a project that will pay you $710 in the first year, $2,000 in the second year, and $1,090 in the third year. In the fourth year, the project will pay you a cash flow of 3,000, which starting from the fifth year will grow forever at a rate of 2%. If the interest rate for this project is 12%, and the time-zero cost of starting this project is $10,000, what is the Net Present Value (PV of benefits minus PV of costs) of the project? Round your answer to the first two decimal places.
In: Finance
The value of HILEV firm at the end of one year can be $50 m or $100 m with equal probability of 0.5. The firm has debt with a face value of $50 m that matures in one year. Assume that investors are risk-neutral and the risk free rate is zero. The CEO of the firm decides to substitute assets of the firm with more risky assets immediately, so that the value of the firm at the end of one year is either $30 m or $120 m with equal probability of 0.5. This asset substitution will lead to
A gain of $10 million for stockholders and a loss of $10 million for bondholders
b. A loss of $10 million for stockholders and a gain of $10 million for bondholders
c. No gain or loss to debtholders or equity holders
d. Both debtholders and equity holders will lose $10 million from the increased risk of the business
* I answered C and it was incorrect
In: Finance
Prontor Limited is ready to prepare the master budget for the year of 2019. The company uses full absorption costing system. The Financial Position as at 31st December 2018 is as follows:
Financial Position as at 31st December 2018
|
Fixed Assets |
Capital |
|
|
Land and building |
100,000 |
100,000 ordinary shares At RM1 each 100,000 |
|
Plant and machinery 20,000 |
General Reserve 12,850 |
|
|
Less: Accumulated depreciation 6,000 |
14,000 |
112,850 |
|
Current assets Debtors 10,000 Bank 10,000 Inventory : Materials 4,000 Finished goods 7,850 |
114,000 31,850 |
Current liabilities Creditors for materials 20,000 Other creditors 13,000 |
145,850 145,850
Sales and inventory data:
East Malaysia : 2,000 units of Product Z and 2,000 units of Product Y.
West Malaysia : 6,000 units of Product Z and 5,000 units of Product Y.
Selling prices : Product Z at $12 per unit
Product Y at $20 per unit
Planned ending inventory : 400 units of Product Z and 700 units of Product Y
Beginning inventory : 200 units of Product Z and 350 units of Product Y
Additional information for Prontor Limited is as follows:
|
Direct Materials |
M121 |
M122 |
|
Beginning inventory (units) 1,000 Planned ending inventory (units) 2,000 Cost per unit $1 Each unit of Product Z requires 2 units of M 121, 1 unit of M 122. Each unit of Product Y requires 2 units of M 121, 2 units of M 122. |
1,500 3,000 $2 |
|
Factory overhead is expected to be as follows: $75,600
Selling and Administration expenses are budgeted as below
$18,000
The cash flows of the company are projected as below :
|
Quarters |
||||
|
1st |
2nd |
3rd |
4th |
|
|
Receipts from debtors ($) |
20,000 |
40,000 |
42,000 |
68,000 |
|
Payments: ($) |
||||
|
Material purchase |
20,000 |
20,000 |
15,000 |
5,000 |
|
Wages |
7,000 |
7,000 |
7,000 |
7,350 |
|
Other costs |
25,000 |
15,000 |
20,000 |
25,000 |
|
Plant purchase |
- |
- |
- |
5,000 |
Prontor Limited has an arrangement with its bankers that it can borrow money in multiples of $1,000, and pay interest at 12% per annum. Loans are borrowed on the first day of the quarters and repayable on the last day of the quarters in question. Interest is to be paid on repayment of loan.
Calculate
In: Accounting
You are looking to purchase a $300,000 30 year mortgage at 6.5% a) what is the monthly payment b) if you want to pay it off in year 9, how much do you owe? c) How much interest would you have paid? d) if the lender charged 1.5 points, what is the effective interest if you paid it off in year 9?
In: Finance
What is the Macaulay’s Duration of a portfolio of bonds that
invests 40% in a 5-year zero coupon bond with a par of $100 and 60%
in a 3 year, 5% coupon interest bond (p.a.), with a par of $100.
Assume Yield to Maturity is 8% p.a.?
*Please assist with a worked answer
In: Finance
A)
You are expecting to receive $300 at the end of each year in years 3, 4, and 5, and then 500 each year at the end of each year in years 10 through 25, inclusive. If the appropriate discount rate is 9.2 percent, for how much would you be able to sell your claim to these cash flows today?
B)
You are paying an effective annual rate of 12.93 percent on your credit card. The interest is compounded monthly. What is the annual percentage rate on your account? (Enter rate in percents, not in decimals.)
C)
If you put up $43,463 today in exchange for a 10.7 percent, 12 year annuity, what will the annual cash flow be?
In: Finance
Sandy is a single and has the following situation for the year: Sandy's income of $80,000; dividend income of $20,000; interest income of $2,000; short-term capital gain of $8,000 and long-term capital gain of 14,000. She also paid $1,000 on interest charges on her credit card. Her other total exemptions and itemized deductions is 22,000; these amounts will be deducted from her gross income to determine her taxable income. If she is files as a single individual, what is Sandy's marginal tax rate? Use the individual tax rate provided below. Individual Tax Rates: Single Individual Taxable Income You Pay This Amount on the Base of the Bracket Plus This Percentage on the Excess over the Base (Marginal Rate) Average Tax Rate at the Top of Bracket Up to $8925 $0 10.0% 10.0% $8925-36350 $892.50 15.0 13.8 $36250-87850 $4991.25 25.0 20.4 $87850-183250 $17891.25 28.0 24.3 183250-398350 $44603.25 33.0 29.0 $398350-400000 $115586.25 35.0 29.0 Over $400000 $116163.75 39.6 39.6 A. 10.0% B. 20.0% C. 25.0% D. 28.0% E. None of the above
In: Finance
The following are the cash flows of two projects:
Year Project A Project B
0 -250 -250
1 130 150
2 130 150
3 130 150
4 130
If the opportunity cost is 10%, what is the profitability index for each project?
Project Profitability Index
A
B
In: Finance