Questions
Program this using C please The program will read from standard input two things - a...

Program this using C please 

The program will read from standard input two things
- a string str1 on the first line of stdin (this string may be an empty string)
- a string str2 on the second line of stdin (this string may be an empty string)
Note that stdin does not end with '\n'.

The program will output a string that is the concatenation of string str1 and string str2 such that any lower-case alphabet character (a-z) will be converted to upper-case and any upper-case alphabet character (A-Z) will be converted into lower-case. 

Note that stdout does not end with '\n'.

You cannot use any existing function from any library to do this concatenation. 

The maximum length of each input string is 100 characters


SAMPLE INTPUT

this is string one
This is string two

SAMPLE OUTPUT

THIS IS STRING ONEtHIS IS STRING TWO

In: Computer Science

3. Assume you have a 1-year investment horizon and are trying to choose among three bonds....

3. Assume you have a 1-year investment horizon and are trying to choose among three
bonds. All have the same degree of default risk and mature in 10 years. The first is a zerocoupon
bond that pays $1,000 at maturity. The second has an 8% coupon rate and pays
the $80 coupon once per year. The third has a 10% coupon rate and pays the $100
coupon once per year.
a. If all three bonds are now priced to yield 8% to maturity, what are their prices?
b. If you expect their yields to maturity to be 8% at the beginning of next year, what
will their prices be then? What is your holding-period return on each bond?
c. Recalculate your answer to (b) under the assumption that you expect the yields to
maturity on each bond to be 7% at the beginning of next year.

In: Finance

In 2017, the mean age at first birth among US women living in metro counties was...

In 2017, the mean age at first birth among US women living in metro counties was 27.7. Would you be more likely (or equally likely) to get a sample mean of 25 years if you randomly sampled 25 women or if you randomly sampled 50 women? Explain

. A population has a mean of 150 and a standard deviation of 16. a) What are the mean and standard deviation of the sampling distribution of the mean for N=25? b) What are the mean and standard deviation of the sampling distribution of the mean for N=50?

3. Given a test that is normally distributed with a mean of 100 and a standard deviation of 15, find: a) The probability that a sample of 73 scores will have a mean greater than 107. b) The probability that the mean of sample of 13 scores will be either less than 91 or greater than 10

In: Statistics and Probability

A standard electric motor is rated at 10 horsepower (HP) and costs $800. Its fullload efficiency...

A standard electric motor is rated at 10 horsepower (HP) and costs $800. Its fullload

efficiency is specified to be 87%. A newly designed, high efficiency motor of

the same size has an efficiency of 93%, but costs $1,200. It is estimated that the

motors will operate at a rated 10-HP output for 2,500 hours a year, and the cost of

energy will be $0.07 per kilowatt-hour. Each motor is expected to have 12-year

life. At the end of 12 years, the first motor will have a salvage value of $50, and

the second motor will have a salvage value of $100. Consider the MARR to be

8%. (Note: 1HP = 0.7457 KW)

1- What is the net present value (NPW) of the cash flows associated with the high

efficiency motor?

2- Which of the motors should be selected when comparing their net present worth

(NPW)?

In: Finance

Ram? Roy's firm has developed the following? supply, demand,? cost, and inventory data. ?????????????????????????????????????????????????????????????????????????????????????????????????? Copy to...

Ram? Roy's firm has developed the following? supply, demand,? cost, and inventory data.

??????????????????????????????????????????????????????????????????????????????????????????????????

Copy to Clipboard +

Supply Available

Period

Regular Time

Overtime

Subcontract

Demand Forecast

1

30

15

10

50

2

35

15

10

50

3

40

15

10

55

Initial inventory

30

units

?Regular-time cost per unit

?$100

Overtime cost per unit

?$160

Subcontract cost per unit

?$250

Carrying cost per unit per month

?$2

Assume that the initial inventory has no holding cost in the first period and backorders are not permitted.

Allocating production capacity to meet demand at a minimum cost using the transportation? method, the total cost is

?$

?(enter your response as a whole? number).

In: Operations Management

Consider the projectile motion of two balls. Ball A is launched horizontally (no vertical component of...

Consider the projectile motion of two balls. Ball A is launched horizontally (no vertical component of velocity) with an initial speed of 100 m/s from an initial position 1 m above the ground. Ball B is launched straight upward (no horizontal component of velocity) with an initial speed of 1 m/s from an initial position 0.5 m above the ground. The two balls are launched at the same time. Assume that air resistance doesn’t matter in this problem and assume the ground is perfectly flat.

a) What is the horizontal component of velocity for each ball when they hit the ground?

b) What is the vertical position of ball B when it reaches its maximum height?

c) What time does ball B reach its maximum height? d) Which ball reaches the ground first?

In: Physics

. Many people believe that having more money will make them happy. Dr. Shakespeare designed an...

. Many people believe that having more money will make them happy. Dr. Shakespeare designed an experiment in which he randomly and evenly assigned 15 people to three groups. He gave one group nothing, gave the second group a little money, and gave the third group a lot of money. The next day, he asked each group to report their happiness on a mood scale (0-100 with a higher score indicating happier mood). The first group reported an average of 80, the second 90, and the third group 85.  Using the SS totalprovided in the following table to examine if the amount of money has an effect on the perceived happiness (make sure to fill out the ANOVA table). If yes, how? (14pts)

Source

SS

df

MS

F

Factor A

___

___

___

____

Error

___

___

___

Total

500

___

In: Math

you have been given the expected return data shown in the first table on three assetslong...

you have been given the expected return data shown in the first table on three

assetslong dash—​F,

​G, and

H long dash—over

the period​ 2016-2019:

Expected Return

Year

Asset F

Asset G

Asset H

2016

16​%

17​%

   

14​%

   

2017

17​%

16​%

15​%

2018

18​%

15​%

16​%

2019

19​%

14​%

17​%

Using these​ assets, you have isolated the three investment alternatives shown in the following​ table

Alternative

Investment

1

100% of asset F

2

​50% of asset F and​ 50% of asset G

3

​50% of asset F and​ 50% of asset H

 Calculate the standard deviation of returns over the​ 4-year period for each of the three alternatives

In: Finance

you have been given the expected return data shown in the first table on three assetslong...

you have been given the expected return data shown in the first table on three

assetslong dash—​F,

​G, and

H long dash—over

the period​ 2016-2019:

Expected Return

Year

Asset F

Asset G

Asset H

2016

16​%

17​%

   

14​%

   

2017

17​%

16​%

15​%

2018

18​%

15​%

16​%

2019

19​%

14​%

17​%

Using these​ assets, you have isolated the three investment alternatives shown in the following​ table

Alternative

Investment

1

100% of asset F

2

​50% of asset F and​ 50% of asset G

3

​50% of asset F and​ 50% of asset H

Calculate the expected return over the​ 4-year period for each of the three alternatives. ?

In: Finance

Margaret started her own business in the current year and will report a profit for her...

Margaret started her own business in the current year and will report a profit for her first year. Her results of operations are as follows:

Gross income $45,000
Expenses:
Travel $1,000
Contribution to Presidential Election Campaign $100
Transportation
(5,725 miles evenly throughout the year, using standard mileage method)
?
Entertainment in total $4,200
Nine gifts at $50 each $450
Rent and utilities for apartment in total $10,500
(25% is used for a home office)

Complete the table below to determine the net income Margaret should show on her Schedule C.

If an amount is zero, enter "0". If required, round the amounts to the nearest dollar.

Gross income $
Expenses:
Travel $
Political contribution   
Transportation   
Entertainment   
Gifts   
Rent and utilities   
Total expenses $
Taxable business income $

In: Accounting