Write a complete java program to get input of a person’s age and their years of current USA citizenship. Tell them if they are eligible to run for US House of Representatives, US Senate, or President. At first, have the program just run once and give the answer for the given inputs. Give the answer in a nice format and be clear which offices the person can run for. Write good and complete pseudo code. Next, put that program in a function and call if from a loop that gets input’s from main (no input or output in the function itself). Have the loop run until the user enters 0 for their age. Finally, modify the input GUI so that the user enters only one number if years of citizenship is the same as age (two numbers when they are different). The rules for eligibility are: President: 35 years old and natural born citizen (age and year’s citizenship match) US Senate: 30 years old and 9 years citizenship US House of Representatives: 25 years old and 7 years citizenship.
In: Computer Science
Write a complete java program to get input of a person’s age and their years of current USA citizenship. Tell them if they are eligible to run for US House of Representatives, US Senate, or President. At first, have the program just run once and give the answer for the given inputs. Give the answer in a nice format and be clear which offices the person can run for. Write good and complete pseudo code. Next, put that program in a function and call if from a loop that gets input’s from main (no input or output in the function itself). Have the loop run until the user enters 0 for their age. Finally, modify the input GUI so that the user enters only one number if years of citizenship is the same as age (two numbers when they are different). The rules for eligibility are: President: 35 years old and natural born citizen (age and year’s citizenship match) US Senate: 30 years old and 9 years citizenship US House of Representatives: 25 years old and 7 years citizenship.
In: Computer Science
In: Accounting
Issuing Company Years to maturity Yield
1. General Motors 10 years 6.3 percent
2. NC Dept of Education 15 years 3.8 percent
3. US Treasury Strip 20 years, 0 coupon 2.3 percent
4. York County B&T 15 years 5.6 percent
5. US Treasury 10 years 3.4 percent
6. US Treasury 20 years, 3.5 coupon 2.6 percent
7. Apple 15 years 4.1 percent
Briefly explain why these bonds have different interest rates
Do not use the same answer twice.
In: Finance
Foreign financial markets
1. A US investor purchased stock in a Canadian company on May 1, 2018 for C$82.15. The investor sold the stock on June 29 for C$88.75. What is the investor’s percentage return on the investment in Canadian dollars?
2. If the exchange rate for the Canadian dollar wat 1.2940 on May 1 and 1.2268 on June 29, what is the investor’s percentage return on the investment in US dollars?
3. How should an investor whose investment portfolio consists solely of domestic investments expect the risk of the portfolio to change if the investor adds foreign investments to the portfolio? Explain.
4. Name two ways a US investors can include foreign investments in their investment portfolios without the need to buy or sell investments in foreign securities markets.
In: Finance
We still have some room for comment on various financial ratios that you can look up and explain to us. Please take a look above at the financial ratios that have been covered so far in this discussion and pick a new one, show us its formula, and explain what it tells us about an organization's financial health. However, to add yet another fresh question on this topic...
Applying this new knowledge about the various analytical techniques we discussed this week, if you were tasked with analyzing a company, where would you start? What would you look at? How would you approach the process of determining the financial health of an organization and possibly identify items that need to be fixed within the operation?
In: Accounting
Prime Mortgage Company sanctions a loan application for a 30
year mortgage loan for
US$100,000. The interest rate on the loan is 12% per annum and the
borrower is required to
make equated monthly payments to repay the loan in 30 years (360
months). If the market
rate of interest goes down to 9% per annum, is the loan still worth
US$100,000? Why? Why
not? (5 points)
b) If the corn farmer in the example above harvests 60,000 bushels,
what amount will he
receive? What if he had not hedged his position? If the corn farmer
in the example is able to
harvest only 40,000 bushels and the price per bushel rises to
US$3.90 due to short supply of
corn, will his exposure be completely hedged? Why? Why not? Support
your answer with
calculations. (5 points)
In: Finance
Assessing Financial Statement Effects Investments
On January 1, 2018, Ball Corporation purchased shares of Leftwich Company common stock.
a. Assume that the stock acquired by Ball represents 15% of Leftwich’s voting stock and that Ball has
no influence over Leftwich’s business decisions. Use the financial statement effects template (with
amounts and accounts) to record the following transactions.
1. Ball purchased 5,000 common shares of Leftwich at $15 cash per share.
2. Leftwich reported annual net income of $40,000.
3. Ball received a cash dividend of $1.10 per common share from Leftwich.
4. Year-end market price of Leftwich common stock is $19 per share.
b. Assume that the stock acquired by Ball represents 30% of Leftwich’s voting stock and that Ball accounts
for this investment using the equity method because it is able to exert significant influence. Use the
financial statement effects template (with amounts and accounts) to record the following transactions.
1. Ball purchased 5,000 common shares of Leftwich at $15 cash per share.
2. Leftwich reported annual net income of $40,000.
3. Ball received a cash dividend of $1.10 per common share from Leftwich.
4. Year-end market price of Leftwich common stock is $19 per share
Note : Please use the financial statement effects template and also list out the accounts for every transaction and if possible the reason behind a transaction not having a corresponding entry
In: Accounting
Pete's Construction acquired new equipment, paid $50,000 down, and signed a 5%, $200,000 note payable. Both the principal and one-year's interest is due one year from the date of purchase. The cost to install the equipment was $4,000; the cost to test it before placing it on-line was $2,000.
Pete's Construction spent $20,000 to train employees on the
above new equipment.
Materials, labour and overhead amounted to $400,000 for the
construction of a building started and completed in the current
year. The building was worth $600,000 at completion and will house
the office operations for the company. Total interest cost
recognized during the year was $50,000; $35,000 of that amount
qualifies to be capitalized to this building. The land on which the
building was constructed cost $100,000, also purchased this
year.
A second tract of land was acquired as a building site, for $45,000. A second building on this land also was started during the year but not completed. $5,000 was spent for surveying this second land parcel; $30,000 was spent to excavate the foundation of the building; and $8,000 was spent to clear oak trees on the property.
Pete's Construction was assessed $12,000 by the county for sewers and other infrastructure costs for the site of the completed building.
Because there was so much work involved with this project, Pete took his staff out for a celebration lunch for a cost od $1,000.
Required
From the following transaction information for Pete's Construction
Inc. for the current year, determine the ending balances for all
property, plant and equipment accounts (including construction in
progress). Show how you arrived at your answer for each. Ignore
amortization, assume there were no beginning balances, and there is
no need to show subsidiary accounts or include discussion.
In: Accounting
V. Rahr and Sons is a Fort Worth brewery founded by Fritz Rahr, a Neeley undergraduate and MBA. Currently the company makes Rahr Blonde Lager, Rahr’s Red, and Ugly Pug brews. They are considering a new beer, Frog Princess, with which to celebrate their ties to TCU. The project includes an initial outlay of $750,000 for the purchase of capital equipment that will be depreciated straight line to zero over six years.
Sales are expected to be $400,000 in years 1-3 and $600,000 in years 4-6. Production costs during years 1-6 are as follows: fixed costs (not including depreciation) are expected to be $150,000 per year; variable costs per year will be 40% of sales. The project will require an initial investment in NWC of 200,000 in year 0.
Beyond year six, the company expects that sales and unlevered net income in year seven will be 4% higher than that in year 6, and will continue growing at 4% per year infinitely. Additionally, in year 7 and beyond, new capital expenditures net of depreciation, and increases in NWC, combined, will be 6% of sales. Assume the marginal tax rate is 21%. The appropriate discount rate is 8%.
What is the NPV of the project? What is the IRR? Should the project be undertaken?
In: Finance