On January 2017, BobCat Inc. issued $300,000 seven year bonds with 8% stated interest paid semiannually. Effective interest rate was 7%. How much cash did BobCat Inc. received as a result of the bond issuance and what was the journal entry?
In: Accounting
Directions:
Write a C++ program that will create an array of four integers.
It will allow the user to enter in four valid scores and store them in the array. ( valid range is 0 - 100)
It will compute the letter grade based upon the four scores, namely, A = 90 - 100, B= 80- 89, C = 70-79, D = 60-69, otherwise F.
It will display the scores and letter grade to the screen.
NOTE: No menu is required.
2. Write a function called inputData that takes in a pointer to the array of integers as a parameter, prompts the user for four valid score values and stores these values in the array of integers. (15 points).
4. Write a function called calcGrade that takes in a pointer to the array of integers as a parameter, computes and returns the letter grade based upon the scale listed above. (15 points).
5. Write a function called displayResults that takes in a pointer to the array of integers and the character letter grade as a parameters, computes, and displays these values in the format shown in the sample run below. (15 points).
6. Add comments wherever necessary. (5 points)
Sample Runs:
NOTE: not all possible runs are shown below.
Run 1:
Welcome to the compute letter grade program
Test score 1: Please enter in a score...-9
Please enter in a score (0-100)...999
Please enter in a score (0-100)...90
Test score 2: Please enter in a score...98
Test score 3: Please enter in a score...96
Test score 4: Please enter in a score...95
Test 1: 90
Test 2: 98
Test 3: 96
Test 4: 95
Grade : A
Run 2:
Welcome to the compute letter grade program
Test score 1: Please enter in a score...90
Test score 2: Please enter in a score...70
Test score 3: Please enter in a score...85
Test score 4: Please enter in a score...76
Test 1: 90
Test 2: 70
Test 3: 85
Test 4: 76
Grade : B
General Requirements:
1) Include the header comment with your name and other information on the top of your files.
2. Please make sure that you're conforming to specications (program name, print statements, expected inputs and outputs etc.). Not doing so will result in a loss of points. This is especially important for prompts. They should match mine EXACTLY.
3. If we have listed a specication and allocated point for it, you will lose points if that particular item is missing from your code, even if it is trivial.
4. No global variables (variables outside of main() ) unless they are constants.
5. All input and output must be done with streams, using the library iostream
6. You may only use the iostream and iomanip libraries. Including unnecessary libraries will result in a loss of points.
7. NO C style printing is permitted. (Aka, don't use printf). Use cout if you need to print to the screen.
8. When you write source code, it should be readable and well-documented (comments).
9. Make sure you either develop with or test with CLion (to be sure it reports no compile errors or warnings!) before you submit the program.
In: Computer Science
In Home and Foreign, there are two factors each of production, land and labor, used to produce only one good. The land supply in each country and the technology of production are exactly the same. The marginal product of labor in each country depends on employment as follows:
|
Number of Workers Employed |
Marginal Product of Last Worker |
|
1 |
20 |
|
2 |
19 |
|
3 |
18 |
|
4 |
17 |
|
5 |
16 |
|
6 |
15 |
|
7 |
14 |
|
8 |
13 |
|
9 |
12 |
|
10 |
11 |
|
11 |
10 |
Initially, there are 11 workers employed in Home, but only 3 workers in Foreign. Assume now that Foreign limits immigration so that only three workers can move there from Home. Calculate how the movement of these three workers affects the income of five different groups.
What is impact on workers who were originally in Foreign? The wage in Foreign changes from ______ Blank 1 to ______ Blank 2.
What is impact on Foreign landowners is to change costs? The costs in Foreign landowners change from ______ Blank 3 to ______ Blank 4.
What is impact on workers who stay in Home? Workers who stay at home benefit as their wage changes from ______ Blank 5 to ______ Blank 6.
What is impact on Home landowners? Landowners in Home are hurt as their costs change from ______ Blank 7 to ______ Blank 8 for each worker employed.
What is impact on the workers who do move? The workers who do move benefit by seeing their wages change rise from ______ Blank 9 to ______ Blank 10.
What is the total production in two countries? The total production in two countries changes from ______ Blank 11 to ______ Blank 12.
In: Economics
How long is the short run?
The specific factor model is a short-run model because two of the actors were specific to the two goods which would be true in the short run. In contrast, the Heckscher - Ohlin model is a long-run model because both factors of production are mobile which would be true in the long run. But we never discussed how long is the short run? (We only said that the short run is the period of time for which the specific factor is immobile.) In this thread, you will be asked to consider How long is the short run?
In this Discussion Board thread, we want to consider the difference between the short-run and the long-run. Please give two specific examples of a factor of production that is fixed in the short run. (I do not want Labor in industry X.) Since the “short run” is not well defined, we want to consider two different short runs.
In: Economics
Specifications:
Write a Java program called LifeRaft.java that will do all of the following:
Example 1:
Example 2:
In: Computer Science
You are trying to predict if audit clients will go bankrupt in the next year. Based on the results from a logistic regression, the actual vs predicted numbers for clients is as follows, when using a 50 percent cutoff probability for predicting that a client will go bankrupt:
|
Prediction from Model |
||
|
Actual Status |
Not Bankrupt |
Bankrupt |
|
Not Bankrupt |
950 |
50 |
|
Bankrupt |
40 |
60 |
One of your colleagues, John, suggests that you should use a 70 percent cutoff probability for predicting that a client will go bankrupt.
Another colleague, Mike, suggests that you should use a 30 percent cutoff probability for predicting that a client will go bankrupt.
Answer the following questions:
(a) Who is correct, in this situation? Explain your answer with appropriate logic.
(b) What will happen to the Actual vs Predicted matrix if you use:
(i) 70 percent cutoff probability suggested by John? That is, how would the total numbers in the two columns and two rows change, if at all they change?
(i) 30 percent cutoff probability suggested by Mike? That is, how would the total numbers in the two columns and two rows change, if at all they change?
In: Math
Exercise 10.11.1: Counting strings over {a, b, c}.
infoAbout
Count the number of strings of length 9 over the alphabet {a, b, c} subject to each of the following restrictions.
(a)
The first or the last character is a.
(b)
The string contains at least 8 consecutive a's.
(c)
The string contains at least 8 consecutive identical characters.
(d)
The first character is the same as the last character, or the last character is a, or the first character is a.
(e)
The string contains at least seven consecutive a's.
(f)
The characters in the string "abababa" appear consecutively somewhere in the 9-character string. (So "ccabababa" would be such a 9-character string, but "cababcaba" would not.)
(g)
The string has exactly 2 a's or exactly 3 b's.
(h)
The string has exactly 2 a's or exactly 2 b's or exactly 2 c's
In: Statistics and Probability
7. A mother has two children. The first was born perfectly healthy while the second one was born with rashes, showed clumping and lysis of blood. Based upon this information how would you classify this disorder? What type of antibody-antigen interaction is this and why? Explain how this disorder arises
In: Biology
7).
Between two perfected security interests
Select one:
a. has equal rights to the collateral and therefore the collateral must be divided.
b. the situation is resolved by giving the collateral to the first to attach.
c. the first to perfect (file or take possession) has priority over the collateral.
8).
Cash from the sale of repossessed and sold collateral first goes to pay
Select one:
a. the expenses of repossessing, storing, and selling the collateral.
b. the balance of the debt.
c. reimbursing the debtor for repairing damage to his property when the creditor repossessed it, as long as the costs are reasonable.
9)
mproperly filing a Finance Statement
Select one:
a. reduces the creditor's claim to a secondary position.
b. reduces the creditor's claims to that of an unsecured creditor.
c. has no negative consequence.
10).
mproperly filing a Finance Statement
Select one:
a. reduces the creditor's claim to a secondary position.
b. reduces the creditor's claims to that of an unsecured creditor.
c. has no negative consequence.
11).
Which of the following is not a requirement for the creation of a security interest?
Select one:
a. The debtor must have rights in the collateral.
b. A written security agreement.
c. The debtor must repay the entire debt before the creditor will return the collateral.
d. The creditor must give something of value to the debtor, usually a loan.
In: Economics
6 women and 7 men were randomly divided into two groups, with 9 individuals in one group and 4 individuals in the other group.
a) Calculate the probability that there will be at least two women in each of the groups.
b)Calculate the probability that there are at least five men in the 9-person group, if we know that there is at least one women in the 4-person group.
c) Calculate the expected value of the number of women in the 9-person group.
In: Statistics and Probability