Questions
#include <stdio.h> int isLeapYear(int year) {    if (year % 400 == 0 || (year %...

#include <stdio.h>

int isLeapYear(int year) {
   if (year % 400 == 0 || (year % 100 != 0 && year % 4 == 0)) {
       return 1;
   }
   else {
       return 0;
   }
}


int toJulianLeap(int month, int day) {


   month--;
   switch (month)
   {
   case 1: day += 31;
       break;
   case 2: day += 60;
       break;
   case 3: day += 91;
       break;
   case 4: day += 121;
       break;
   case 5: day += 152;
       break;
   case 6: day += 182;
       break;
   case 7: day += 213;
       break;
   case 8: day += 244;
       break;
   case 9: day += 274;
       break;
   case 10: day += 305;
       break;
   case 11: day += 335;
       break;
   case 12: day = 366;
       break;

   }
   return day;
}

int toJulianNonLeap(int month, int day) {


   month--;
   switch (month)
   {
   case 1: day += 31;
       break;
   case 2: day += 59;
       break;
   case 3: day += 90;
       break;
   case 4: day += 120;
       break;
   case 5: day += 151;
       break;
   case 6: day += 181;
       break;
   case 7: day += 212;
       break;
   case 8: day += 243;
       break;
   case 9: day += 273;
       break;
   case 10: day += 304;
       break;
   case 11: day += 334;
       break;
   case 12: day = 365;
       break;

   }
   return day;
}


int toJulian(int month, int day, int year) {


  
}


int main(void) {
   int month, day, year;

   while (1)
   {
      

       scanf("%d%d%d\n", &month, &day, &year);
       printf("%d%d\n",);
   }
   return 0;
}

How would i convert the input of month and days to Julian days?

In: Computer Science

Year 1 $50 Year 2-6: 4% more than the previous year Year 7 to forever: 1%...

Year 1 $50

Year 2-6: 4% more than the previous year

Year 7 to forever: 1% more then the previous year

At 9% APR, what is the present value

infinity

978.24

1027.15

1,078.51

1,132.43

In: Finance

Aritelli Company has provided the following comparative information:     Year 5     Year 4     Year 3     Year 2...

Aritelli Company has provided the following comparative information:

    Year 5     Year 4     Year 3     Year 2     Year 1
Net income $1,035,300 $892,500 $750,000 $641,000 $543,200
Interest expense 352,000 321,300 277,500 211,500 168,400
Income tax expense 331,296 249,900 210,000 166,660 130,368
Average total assets 6,901,990 6,099,497 5,215,736 4,440,104 3,785,106
Average stockholders' equity 2,347,619 2,109,929 1,851,852 1,647,815 1,448,533

You have been asked to evaluate the historical performance of the company over the last five years.

Selected industry ratios have remained relatively steady at the following levels for the last five years:

  Industry Ratios
Return on total assets 19.8 %
Return on stockholders' equity 40.9 %
Times interest earned 4.6

Instructions:

Calculate three ratios for Year 1 through Year 5. Round to one decimal place.

a. Return on total assets:

Year 5 ? %
Year 4 ? %
Year 3 ? %
Year 2 ? %
Year 1 ? %

b. Return on stockholders' equity:

Year 5 ? %
Year 4 ? %
Year 3 ? %
Year 2 ? %
Year 1 ? %

c. Times interest earned:

Year 5 ?
Year 4 ?
Year 3 ?
Year 2 ?
Year 1 ?

In: Accounting

Consider the following two​ projects: Project    Year 0 Cashflow   Year 1 Cashflow    Year 2 Cashflow    Year...

Consider the following two​ projects:


Project    Year 0 Cashflow   Year 1 Cashflow    Year 2 Cashflow    Year 3 Cashflow   Year 4 Cashflow Discount rate

A    -100 40 50 60 N/A .15

B -147   50 70 90 5 .15

An incremental IRR of Project B over Project A is _________%.

(Please round to two decimal places, write the number only without "%". i.e. if the answer is "5%", write "5.00")

In: Finance

Given the following information: Prior Year (Budget) Prior Year (Actual) Current Year (Budget) Current Year (Actual)...

Given the following information:

Prior Year (Budget)

Prior Year (Actual)

Current Year (Budget)

Current Year (Actual)

Beginning Inventory (Units)

0

0

?

?

Sales (Units)

600,000

580,000

575,000

570,000

Manufactured (Units)

600,000

590,000

640,000

610,000

Selling Price ($/unit)

9.99

9.90

9.95

10.00

Variable Manufacturing Cost ($/unit)

4.92

4.90

5.00

4.95

Total Fixed Manufacturing Costs ($)

1,584,000

1,561,000

1,625,000

1,599,531

Variable Selling Cost ($/unit)

1.00

1.01

0.99

1.00

Total Fixed SG&A Costs ($)

350,000

353,000

352,850

348,000

Other information:

  • The manufacturer uses FIFO
  • The manufacturer uses Standard Costing

Required:

  1. Prepare an income statement for the Current Year based on Variable Costing.
  1. Prepare an income statement for the Current Year based on Absorption Costing.
  1. Reconcile the difference in Net Income between Variable Costing and Absorption Costing for the current year by comparing this difference in income to the differences in ending inventory for Absorption Costing and Variable Costing.

In: Accounting

QUESTION 3 Suppose the one-year, two-year, three-year, and four-year spot rates are determined to be 1%,...

QUESTION 3

  1. Suppose the one-year, two-year, three-year, and four-year spot rates are determined to be 1%, 2%, 3%, and 4%, respectively. What is the yield to maturity of a four-year, 5% annual coupon paying bond?

a.

3.467%

b.

3.878%

c.

3.964%

In: Finance

YEAR 0 YEAR 1 YEAR 2 YEAR 3 MACRS DEPRECIATION RATE 33.33% 44.45% 14.81% 7.41% A...

YEAR 0 YEAR 1 YEAR 2 YEAR 3
MACRS
DEPRECIATION RATE 33.33% 44.45% 14.81% 7.41%

A fast-food company invests $2.2 million to buy machines for making Slurpees. These can be depreciated using the MACRS schedule shown above. If the cost of capital is 10%, what is the increase in the net present value (NPV) of the product gained by using MACRS depreciation over straight-line depreciation for three years? A) $28,559 B) $47,599 C) $76,158 D) $190,321

Please help me, I'm not able to use excel in my class so if I could get a step by step that would help me immensely

In: Finance

This year is a good year for the economy, and the economy is currently in an...

This year is a good year for the economy, and the economy is currently in an inflationary gap (point A).
Note: Use the AS-AD model to answer the question and be sure to identify the new equilibriums in the diagram.
a) If the policy makers decide to let the natural adjustment mechanism to work its way out, what
happens to the long-run equilibrium levels of output and price? Explain. (5 points)
b) Suppose the government wants to bring output back to its long-run level in the short run via a
change in lump-sum tax, what should it do? What happens to output and price level in the short
run? Explain. (5 points)

In: Economics

Submit a paper which is 2-3 pages in length (no more than3-pages), In this paper,...

Submit a paper which is 2-3 pages in length (no more than 3-pages), In this paper, in addition to presenting the computed answers, please also discuss how you arrived at each answer the accounting problem asks. The accounting problem presents a company’s balance sheet, income statement, and statement of cash flows for a theoretical company, Polly’s Pet Products. Each of these statements has blank lines. Determine the values that would be appropriate for each blank line. Provide a narrative of how you arrived at each value. Include in this narrative an explanation of:
1) the financial statement being completed;
2) the account being valued;
3) its relationship to the other financial data.

For example, if the accounts payable (AP) line was missing, describe what a balance sheet is and explain that you can derive the AP value based on knowing all the other values of the current liabilities section. Then explain what an account liability is, as well as why it would belong in the current liabilities section of the balance sheet. Finally, analyze, evaluate, and develop a conclusion about the company’s performance based on the completed statements.To complete this assignment, refer to the income statement, balance sheet, and statement of cash flows of Polly’s Pet Products.

Please Note:

Superior papers will mention and explain the following elements when responding to the assignment question:

  • Provide correct balances for the blank financial account lines.

  • Define the financial statement being completed.

  • Discuss how the values were determined.

  • Define and explain each account line that was completed.

  • Analyze, evaluate, and develop conclusions about the company’s performance based on the financial information.


Polly's Pet Products






Statement of Cash Flows as of December 31, 2018





Cash Flows from Operating Activities


Cash received from customers
600 000
Cash paid out to suppliers and employees


Interest paid
(5 000)
Taxes paid
(10 000)

Net cash provided by operating activities
185 000




Cash Flows from Investing Activities


Purchase of fixed assets
(25 000)

Net cash used in investing activities
(25 000)




Cash Flows from Financing Activities


New loans
50 000
Repayments on loans
(45 000)
Issuance of common shares of stock
5 000

Net cash provided by financing activities






Net change in Cash






Cash balance, beginning of year
30 000





Cash balance, end of year

Please scroll to the right the figures are there and they are very clear please.

In: Accounting

Case Study 2 Case scenario: Which Form Is Best? Watoma Kinsey and her daughter Katrina are...

Case Study 2


Case scenario: Which Form Is Best?
Watoma Kinsey and her daughter Katrina are about to launch a business that specializes in children’s parties. Their target audience is upscale families who want to throw unique, memorable parties to celebrate special occasions for their children between the ages of 5 and 15. The Kinseys have leased a large building and have renovated it to include many features designed to appeal to kids, include many features designed to appeal to kids, including special gym equipment, a skating rink, an obstacle course, a mockup of a pirate ship, a ball crawl, and even a moveable haunted house. They can offer simple birthday parties (cake and ice cream included) or special theme parties as elaborate as the customer wants. Their company will provide magicians, clowns, comedians, jugglers, tumblers and a variety of other entertainers.


Watoma and Katrina each have invested $45,000 to get the business ready to launch. Based on the quality of their business plan and their preparation, the Kinseys have negotiated a $40,000 bank loan. Because they both have families and own their own homes, the Kinseys want to minimise their exposure to potential legal and financial problems. A significant portion of their start-up costs went to purchase a liability insurance policy to cover the Kinsey in case a child is injured at a party. If their business plan is accurate, the Kinseys will earn a small profit in their first year (about $1,500), and a more attractive profit of $16,000 in their second year of operation. Within five years, they expect their company to generate as much as 50,000 in profits. The Kinseys have agreed to split the profits and the workload equally.


If the business is as successful as they think it will be, the Kinseys eventually want to franchise their company. That, however, is part of their long range plan. For now, they want to perfect their business system and prove that it can be profitable before they try to duplicate it in the form of franchises.
As they move closer to the launch date for their business, the Kinseys are reviewing the different forms of ownership. They know that their decision has long term implications for themselves and for their business, but they aren’t sure which form of ownership is best for them.

Answer all questions.
1. Which form(s) of ownership would you recommend to the Kinseys? Explain.

2. Which form(s) of ownership would you recommend the Kinsyes avoid? Explain.

3. Examine the factors that the Kinsyes should consider as they evaluate the various forms of ownership

Please write all your answers in essay format. Do not answer in point-form unless the questions mention “List” or “State”. It is not necessary to precede each answer with an introduction and end with a summary. Proceed directly with the answer.

PLEASE HELP ME OUT GUYS,NEED ANSWER IN ESSAY.

In: Operations Management