Reference no: EM13871627
Q.1. Write a program that gets 10 numbers and stores then in an array. Then sort (low to high) the number using a function.
Note: The program requires ask user for continuing for getting next 15 numbers.
Q.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 *y
Constraint 2x+y=24
Q.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
a) Use a condition statement to check that a valid exam mark is in the range 0 to 100 inclusive.
b) 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.
c) After checking for a valid mark and finding the corresponding grade, display the results by showing the student name and grade to the user.
Calculate the total number of copies that the publisher
: Your finance text book sold 55,000 copies in its first year. The publishing company expects the sales to grow at a rate of 20.0 percent for the next three years, and by 13.0 percent in the fourth year. Calculate the total number of copies that the pu..
|
Required journal entries for the two events in december
: Give the required journal entries for the two events in December. Show how the amounts related to Accounts Receivable and Bad Debt Expense would be reported on the balance sheet and income statement for 2015. On the basis of the data available, does ..
|
What are the effects of liberalizations on emerging market
: What is a stock market liberalization? What are the effects of liberalizations on (a) emerging market correlations with the world stock returns, (b) local market volatility, and (c) the local cost of capital?
|
Evaluate what alternative venture capital shortcut
: Evaluate what alternative venture capital shortcut (VCSC) methodologies might be applied in valuing an entrepreneurial venture. How might you determine which of these alternatives is the most appropriate to use?
|
Write a programme to get ten numbers
: Write a programme to get 10 numbers and store in an array. than sort (low to high) the number using a function.
|
What are the spiritual implications for this client
: What are the spiritual implications for this client , Is the use of religion functional or dysfunctional and What spiritual interventions might be appropriate?
|
What is the aftertax cash flow from the sale
: Consider an asset that costs $783,000 and is depreciated straight-line to zero over its nine-year tax life. The asset is to be used in a five-year project; at the end of the project, the asset can be sold for $182,000.If the relevant tax rate is 30 p..
|
Straight line method to amortize the discount
: Use the same information in RE14 3, except assume that the bonds are sold for $318,000.
|
Calculate the amount of itemized deductions the gibsons
: How much can she deduct as a charitable contribution to the university's athletic department - Calculate the amount of itemized deductions the Gibsons may claim for the year.
|