Reference no: EM13722258
1. The Write a program that gets 10 numbers and stores then in an array. Then sort (low to high) e number using a function.
Note: The program requires ask user for continuing for getting next 15 numbers.
2. Write a program for: A child's rectangle play yard is to be built next to the house. To make the three sides of the play-pen, twenty-four meters of fencing are available.
What should be the dimensions of the sides to make a maximum area?
Formulation: Variables x,y and x is in (2-8)
Max Area=A=x*y
Constraint 2x+y=24
3. Write a program that prompts for and gets a student name and exam mark until a name of "quit" is entered. The program should provide the following functionality:
• Use a condition statement to check that a valid exam mark is in the range 0 to 100 inclusive.
• Otherwise when an error is detected, display an error and re-prompts the user for the data until the correct data is entered. You can use either a while or do/while loop for this if you wish.
• After checking for a valid mark and finding the corresponding grade, display the results by showing the student name and grade to the user. Use the following table of marks and grades to help guide you.
What must the expected return on the market be
: A stock has an expected return of 10.5 percent, its beta is 1.15, and the risk-free rate is 5 percent. What must the expected return on the market be?
|
What components of stockholders equity
: What components of stockholders' equity do each of the companies disclose? Do the companies have preferred stock shares outstanding? If so, what special features do these shares contain? Do either of the companies report treasury shares? If so, do th..
|
Number of different projects to prevent flooding
: Your city is considering a number of different projects to prevent flooding. You are tasked with assessing the NPV of a green project, which is the alternative to building a dam (a 100-year solution). The initial cost of the green project is $10 mill..
|
Using constant-growth model-estimate value of giants stock
: Giant Enterprises’ stock has a required return of 14.8%. The company, which plans to pay a dividend of $2.60 per share in the coming year, anticipates that its future dividends will increase at an annual rate consistent with that experienced over the..
|
Program that gets 10 numbers and stores then in an array
: Write a program for a child's rectangle play yard is to be built next to the house. To make the three sides of the play-pen, twenty-four meters of fencing are available.
|
Calculate the selling price for each of the bonds
: Mark Goldsmith’s broker has shown him two bonds. Each has a maturity of 5 years, a par value of $1,000, and a yield to maturity of 12%. Bond A has a coupon interest rate of 6% paid annually. Bond B has a coupon interest rate of 14% paid annually. Cal..
|
Life accomplishments and failures
: Please write a biography of yourself starting from your childhood to your present life. Include notable memories such as life accomplishments and failures. Also include the greatest and worse moment of your life. You may use an alias other tha..
|
Draw the correct matching x-t and a-t graphs
: For the following v-t graph, draw the correct matching x-t and a-t graphs. Assume the initial position of the person is positive. For the above graphs, describe the motion in words. Include references to position and motion
|
Recognize the moral impact
: Who gained the benefit by keeping the passengers on the airplane?
|