Write a static method remove(int v, int[] in) that will return a new array of the integers in the given array, but with the value v removed. For example, if v is 3 and in contains 0, 1, 3, 2, 3, 0, 3, and 1, the method will return an array containing 0, 1, 2, 0, and 1. Hint: You can follow two steps to solve this problem: Create an array in the method, let say you called it result. Before you create the result array, you need to find the number of values that will be in the result. Assign all values from in array to results array except v value. Return the array result. (JAVA) the main method and the class should be in 2 separate files
In: Computer Science
How much were government expenditures in 2016? How much were government tax revenues in 2016?
In: Economics
Retail Co. reported the balance sheet for fiscal year 2015 as follows.
|
Retail Co. |
|
|
Balance Sheet |
|
|
December 31, 2015 |
|
|
Cash |
18,600 |
|
Accounts Receivable |
33,000 |
|
Notes Receivable |
10,000 |
|
Interest Receivable |
600 |
|
Merchandise Inventory |
22,000 |
|
Prepaid Insurance |
4,500 |
|
Total Current Assets |
88,700 |
|
Computer Systems: |
|
|
At Cost |
78,000 |
|
Less Accumulated Depreciation |
(26,000) |
|
Net Computer System |
52,000 |
|
Total Assets |
140,700 |
|
LIABILITIES AND SHAREHOLDERS' EQUITY |
|
|
Accounts Payable |
36,000 |
|
Dividends Payable |
1,800 |
|
Salaries Payable |
6,500 |
|
Taxes Payable |
10,000 |
|
Unearned Revenue |
600 |
|
Total Liabilities |
54,900 |
|
Common Stock |
40,000 |
|
Retained Earnings |
45,800 |
|
Total Shareholders' Equity |
85,800 |
|
Total Liabilities and Shareholders' Equity |
140,700 |
Part I: Journal Entries and T-accounts
Required: Prepare Journal Entries for the below transactions occurred during fiscal year 2016. Also, post each transaction to T-accounts and prepare income staement.
a)The insurance policy cost $6,000 when the company paid the two-year insurance premium on June 30, 2015. As of December 31, 2016, the company must record the adjusting entries for fiscal year 2016 (Note that company has made adjusting entries for fiscal year 2015 and thus has a debit balance of prepaid insurance in 2015 balance sheet.b)During 2016, the company declared $6,000 of dividends, of which the firm paid $3,000 in cash to shareholders during 2016 and will pay the remainder during 2017. c)Early in 2016, the company also paid dividends of $1,800 cash that the company declared during 2015. (Note that company has a credit balance of dividend payable in 2015 balance sheet)d)On July 1, 2015, the company lent Appleton Co., $10,000 cash on a nine-month, $900 interest-bearing, note receivable. This transaction and accompanying adjusting entries were recorded at the end of 2015. On April 1, 2016, the company received $10,900 cash from Appleton Co., in full settlement of Appleton’s nine-month note. (Hint: First, calculate interest income to be realized in 2016. Also, account for remaining balances of notes receivable and interest receivable in 2015 balance sheet)e)The company purchased delivery trucks on March 1, 2016. To finance the acquisition, it gave the seller a $60,000 four-year note that bears interest of 10% per year. (Hint: Use Trucks and Notes Payable accounts)f)The company must pay interest on the note each six months ($3,000 = $60,000*10%*6/12), beginning September 1, 2016. The company made payment on this date.g)As of December 31, 2016, the company must record the adjusting entries for interest on the note as follows.h)At the end of 2016, the company depreciates the delivery trucks by $10,000.i)The computer systems are depreciated by $13,000 per yearj)The company shipped all the merchandise to customers, for which the customer had already paid in 2015 ($600).k)In 2016, the company received $1,400 from in advance paying customers for merchandise to be shipped in 2017 l)The company collected $208,600 on account from its customers m)During 2016, the company paid $115,000 on accounts payable to merchandise suppliers.n)The company paid $85,000 in cash to employees during 2016. Of this amount, $6,500 related to services that employees performed during 2015, and $4,000 related to services that employees will perform during 2017. Employees performed the remainder of the service during 2016.o)On December 31, 2016, the company owes employees $1,300 for services performed during the last several days of 2016.p)The company paid $27,000 in cash for income taxes in April 2016. Of this amount, $10,000 relates to income taxes applicable to 2015, and $3,000 relates to income taxes applicable to 2017. The remainder of payment is applicable to 2016.q)On December 31, 2016, the company learned that it owes additional $4,000 in income taxes, which will be paid off in next year.
In: Accounting
Choose a publicly traded company, and identify the resources that you would use (besides the financial statements) to analyze the financial position of this corporation for 2016-2017. Find at least two resources, other than the financial statements, that provide information regarding your chosen company. Prepare an overview (approximately 300 words) of what is revealed about the company by these resources, including any items that you find to be unusual about the company. Provide a link to each resource examined with your initial post, and include the company name in the subject line. Do not choose a company that one of your classmates has already posted on. To participate in follow-up discussion, choose one of the companies that a classmate has reviewed, find an additional resource that provides insight into the financial position of that company, and provide your own commentary on it. All posts should be grammatically correct and proofread for spelling. The company I was looking into was samsung or google
In: Finance
Phoenix Airways Inc. is an airline company headquartered in Hong Kong. It was founded in 2010 and currently provides passenger and cargo services to more than 50 regional and international destinations. The passenger service is operated by Phoenix Airways under the brand name of “Phoenix” while the cargo service is provided by its wholly owned subsidiary, Phoenix Cargo. The airline operates a fleet consisting of Boeing 737, Airbus 320, Airbus A330, and Airbus A350 aircrafts. In September 2016, the airline launched a new passenger route between Hong Kong (HKG) and Los Angeles (LAX) in hopes of competing with the larger carriers in the market for long-haul flights. However, this route between Hong Kong (HKG) and Los Angeles (LAX) has continued to lose money to the point where the airline has been forced to consider whether to discontinue it. Required: Discuss factors that will affect the company’s decision to discontinue the HKG-LAX route, including quantitative and qualitative factors.
In: Accounting
Please find an argument on the internet that has a claim and provides reason(s) or rationale for that claim. This argument could come from a news story, a YouTube video, or even a posting on a social media site.
Describe the source in detail so that others can have access to the argument (provide URL for the source or other source information such that other may access it)
Clearly state the claim of the argument as well as the reason(s) cited by the source in support of the claim
Apply the four tests for evaluating arguments from the textbook (Facione & Gittens, 2016):
Truthfulness of the premises
Logical strength
Relevance
Non-circularity
Please define each test prior to applying it. Please also underline and bold the name of each test when defining each test for example. "The first test applied to assess the credibility of the claim was the test of “The truthfulness of premises” which involves...."
Reach a conclusion on the argument - provide your rationale for your conclusion in a minimum of 3 sentences.
In: Psychology
How many variables should an experiment have?
In: Biology
uncertainties in millikan's experiment to determine planck's constant
In: Physics
In: Statistics and Probability
Describe how a mixed copolymer experiment is performed
In: Biology