Questions
Write a python program that will ask the user to enter any number of days. The...

Write a python program that will ask the user to enter any number of days. The program reads the number of days from the user, and returns how many years, months, and days are there in the given number of days.


Your program should prompt the user to:

Enter the number of days : 1152

The user types number of days (1152 above, for example) and hit enter key.
The program then will print:

3 years

1 months

27 days

  • Use a range of 1 – 300,000 days for testing the program
  • 1 year    = 365 days
  • 1 year    =    12 months
  • Assume 1 month = 30 day

Another example of the program input and output:

Enter the number of days : 300000

821 years
11 months
5 days

Notice the indentation of the output

Marking rubrics of Question 1:

1 mark for reading an input.

1 mark for finding number of years

1 mark for finding number of months

1 mark for finding number of days

1 mark for coding style

Full 1 mark for each correct answer, and ½ mark for partially correct answer.

please pay attention to output format

In: Computer Science

Using the compensating wage/safety model, illustrate why the impact of safety regulation might affecf differently three...

Using the compensating wage/safety model, illustrate why the impact of safety regulation might affecf differently three firms with different safety provision capabilities.

In: Economics

During the term, you will be asked to prepare a sales proposal plan. A detailed explanation...

During the term, you will be asked to prepare a sales proposal plan. A detailed explanation of how to complete the project will be provided in Blackboard. Students are encouraged to draw upon their own organizations products and services to develop a sales presentation proposal. Your choice of product / service must be submitted to the instructor on or before the April 3rd class night for approval. On the last night of class, each student will present their written sales proposal to the class using a brief PowerPoint presentation.

The written sales proposal plan should contain the information as described in the attachment in order to make the needed presentation to a potential buyer / customer using the SELL sequence. Charts, graphs, financial data (demonstration proof), collateral materials (catalogues) and promotional materials can and should be included in your presentation (PowerPoint). Here is your chance to participate in a real world selling experience. This is not a game but a chance to see if you’ve got what it takes to be innovative, organized, research savvy, creative and implement classic selling strategies.

It is PowerPoint presentation based on selling LIC policy to customer, thank you  

(In this just prepare PowerPoint presentation based on selling LIC policy based on questions asked above)

In: Operations Management

Build the statement of comprehensive income and statement of financial position based on the information given...

Build the statement of comprehensive income and statement of financial position based on the information given below, as of December 31, 2016. Round numbers to the nearest integer.

Accounts payable

$172,000

Accounts receivable

$195,000

Cash and cash equivalents

$106,000

CoGS

$251,300

Common stock

$1,231,000

Depreciation

$42,000

Dividend payout ratio

40%

Interest paid

$66,600

Inventory

$121,000

Long-term debt

$1,332,000

Net fixed assets

$2,889,000

Sales

$468,000

Short-term debt

$377,000

Tax rate

31%

Number of shares

1,000,000

Price per share

$0.50

In: Accounting

The manager of a small hotel resort is considering expansion. He would like to issue bonds...

The manager of a small hotel resort is considering expansion. He would like to issue bonds but do not quite understand why he may or may not receive what amount of money is stated on the face of the bond but he has to repay what is on the face of the bond. Write a report to the manager explaining the market forces that determine how much money will be collected. Also explain how the interest payment on bonds are calculated and paid. bear in mind that the stated interest rate and the market interest rate are the two interest rate that work together to determine the market price of a bond. write in essay format no log explanation.

In: Accounting

Explain the importance of collaboration and information sharing for businesses. Explain what a “smart” product is,...

Explain the importance of collaboration and information sharing for businesses.

Explain what a “smart” product is, and use an example.

How do smart products increase rivalry among firms?

In: Operations Management

Discuss the relationship between creativity and innovation. Is it possible to innovate without creativity? Is it...

Discuss the relationship between creativity and innovation. Is it possible to innovate without creativity? Is it possible to be creative without innovating? Defend your position thoroughly.

In: Operations Management

Hello i need pesodocde of this code. void accountInfo() { system("cls"); int ch; printf("1-Total Amount Claimed...

Hello i need pesodocde of this code.

void accountInfo()
{
system("cls");
int ch;
printf("1-Total Amount Claimed by LifeTime Claim Limit subscriber\n");
printf("2-Total number of Annual Claim Limit who have exhausted all their eligible amount\n");
scanf("%d", & ch);
if (ch == 1)
{
int totalAmountClaimedByLifeTimeSubs = 0;
for (int i = 0; i < patientCount; i++)
{
if (patients[i].annualClaim == false)
{
for (int j = 0; j < patientCount; j++)
{
if (claims[j].id == patients[i].id)
{
totalAmountClaimedByLifeTimeSubs += claims[j].amountClaimed;
}
}
}
}
printf("\nTotal amount Claimed By LifeTime Subscribers is: %d\n", totalAmountClaimedByLifeTimeSubs);
} else
{
int count = 0;
for (int i = 0; i < patientCount; i++)
{
if (claims[i].remaininigAmount <= 0 && patients[i].annualClaim == true)
count++;
}
printf("Total number of Annual Claim Limit Subcriber who have exhausted all their amount are: %d\n", count);
}
system("pause");
}
void searchingFunctionalities()
{
system("cls");
int ch;
printf("1-Search by ID\n2-Search by age\n");
scanf("%d", & ch);
if (ch == 1)
{
int id;
printf("Enter patient ID for which you want Search: ");
scanf("%d", & id);
int i;
for (i = 0; i < patientCount; i++)
{
if (patients[i].id == id)
{
printf("\nSubscriber Name: %s\nSubscriber Age: %d\nSubscriber Contact: %s\nSubscriber Address: %s\n", patients[i].name, patients[i].age, patients[i].contactNum, patients[i].address);
break;
}
}
printf("Subscriber Not Found");
} else
{
int age;
printf("Enter age for which you want Search: ");
scanf("%d", & age);
for (int i = 0; i < patientCount; i++)
{
if (patients[i].age == age)
{
printf("\nSubscriber Name: %s\nSubscriber ID: %d\nSubscriber Contact: %s\nSubscriber Address: %s\n", patients[i].name, patients[i].id, patients[i].contactNum, patients[i].address);
}
}
}
system("pause");
}

In: Computer Science

Consider the standard Solow model with population growth and technological progress. Suppose we introduce a government...

Consider the standard Solow model with population growth and technological progress. Suppose we introduce a government that imposes a lump-sum tax on all individuals

a. Write down the new steady state equation for this economy. b. Would the steady state capital stock be higher or lower as a result of the lump-sum tax? Explain. Illustrate this tax. c. Explain how this tax affects the golden rule level of per capita capital stock.

b. Would the steady state capital stock be higher or lower as a result of the lump-sum tax? Explain. Illustrate this tax.

c. Explain how this tax affects the golden rule level of per capita capital stock.

In: Economics

Assuming a planar surface, calculate how long it will take to dissolve 1 mm thick layer...

Assuming a planar surface, calculate how long it will take to dissolve 1 mm thick layer from the mineral. The dissolution rate is a zeroth-order reaction

Mineral Formula Density (g/cm3) Log Rate (mol/m2) pH Concentration (moles/L) Temperature (°C)
Quartz SiO2 2.65 -13.39 5 0.00001 25

In: Chemistry

Describe the basic parts of an arrest report and the function of each. What issues might...

Describe the basic parts of an arrest report and the function of each. What issues might arise if an arrest record is inaccurate?

In: Psychology

Kruger Financing is a boutique investment firm with big ambitions. Masai, their CFO has been featured...

Kruger Financing is a boutique investment firm with big ambitions. Masai, their CFO has been featured in multiple financial magazines and newspapers because the company has grown its investment revenues by an average of 25% in the past three years, while the industry average is about 7%.

On April 1, you read an article in the Financial Post Magazine in which Masai explains that he has been able to achieve this level of growth by providing a lot of autonomy to his sales staff. He says, “they are the people on the ground, talking to the clients, and they understand what they need. Businesses these days move fast; waiting a month for a loan to be disbursed could mean a lost opportunity for the businesses and for us. This is why our salespeople have the autonomy to disburse loans of up to $500,000 without going through our central credit department. I hire only the best, and I trust them to know a good opportunity when they see one. The small business loan has actually proven to be one of our most lucrative products.”

Masai goes on to explain that he motivates his sales staff by providing them with a large bonus incentive. For example, a salesperson at his company makes on average $68,000 of base salary, which is much lower than the industry average of $105,000. However, Kruger Financing has a very generous bonus system where employees receive a percentage of the fees earned on each financing transaction they close. With this, a salesperson could have a bonus of up to $150,000, while other companies in the industry normally cap bonuses at $40,000. The bonuses are paid out one month after year-end when all the results for the year have been reviewed.

On July 5, the cover of the Business Journal has a headline “Kruger Financing reports third-quarter loss due to internal fraud.” The article goes on to say that 20 Kruger Financing salespeople had issued loans in the range of $200,000 - $499,000 to themselves and close family members. The default rate on these loans was very high, so Kruger Financing has to take a write-down for its small business loans receivable.

A salesperson in the article was quoted as saying, “It was just hard sometimes to make it through the year on our base salary. You know you have all this money coming with your bonus at year-end, so you think you will just borrow the money and pay it back when you get your bonus. But then the bonus comes and you decide to keep it as you already spent the amount you borrowed and realize you need the bonus money for other expenses. If taking out a small business loan for yourself was so bad, why was it so easy to do?”

Required:

1.       Based on the fraud triangle, explain how each of the three factors (incentive, opportunity, and rationalization) were present, allowing a fraud to take place.

2.       What are some potential strategies and measures that Masai could put in place to reduce the risk of such occurrences happening again?

In: Accounting

1.      Pressurized tanks are commonly used in gas propulsion for space applications. A closed, rigid and insulated...

1.      Pressurized tanks are commonly used in gas propulsion for space applications. A closed, rigid and insulated tank with a volume of 0.1 m3contains 0.7 kg of N2 and 1.1 kg of CO2at 27oC. Determine the following:

a.       The composition in terms of mass fractions

b.      The composition in terms of mole fractions

c.       The partial pressure of each component

d.      The mixture pressure

e.       The heat transfer required to bring the mixture to 127oC

f.       The entropy change of the mixture

In: Chemistry

Explain the three main classifications of a statement of cash flows

Explain the three main classifications of a statement of cash flows

In: Accounting

In what ways will a matrix structure encourage collaboration and communication within an organization more than...

In what ways will a matrix structure encourage collaboration and communication within an organization more than a functional structure or a divisional structure. Explain your reasoning.

In: Operations Management