2.c++ if and loop statement Write a program that will count the number of even number and odd numbers between two inputted numbers. Display the numbers and compute the sum and average of all the even numbers and the sum and average all the odd numbers.
Sample outputs:
Enter starting number:3 Enter starting number:4
Enter ending number:10 Enter ending number:10
odd numbers Even number
3 4
5 6
7 8
9 10
number of even numbers=4 number of even numbers=4
sum=24 sum=28
average=6 average=7
Even number odd number
4 5
6 7
8 9
10
Number of even number=4 Number of even number=3
sum=28 sum=21
average=7 average=7
In: Computer Science
x 2 8 5 9 4 3 9 6 7 8
y 3 6 5 7 9 7 4 6 9 9
| -5.48x + 0.17 |
| 5.48x + 0.17 |
| -0.17x + 5.48 |
| 0.17x + 5.48 |
In: Statistics and Probability
Data: 7,-5, -8, 7, 9, 15, 0, 2, 13, 8, 6, -2, 4 (a) Mean= Mode= median= (b) Variance= Standard deviation= (c) Range= IQR(Interquartilerange)= (d) Mid-Range= Mid-Hinge=
In: Math
Statement of cash flows contains the following sections:
a. net cash flow from operating activies
b. cash flows from investing activites
c. cash flows from financing activities
d. investing and financing activities NOT affecting cash
A list of items that appear on the statement is provided below:
_____ 1. Depreciation Expense
_____ 2. Proceeds from sale of land on gain (two solutions)
_____ 3. Decrease in accounts payable
_____ 4. Conversion of bonds to common stock
_____ 5. Payment of dividends, declared last fiscal year
_____ 6. Proceeds from issuance of short-term note payable, NOT relating to operating activities
_____ 7. Loss on cash sale of equipment (two solutions)
_____ 8. Payment for purchase of a building
_____ 9. Bond premium amortization using the effective interest method
_____ 10. Issuance of common stock to convert bonds payable
REQUIRED:
In the space provided, using the letter (a-d), indicate in which section(s) of the statement of cash flows (or accompanying schedule) the preceeding items would most likely be classified. After each items affecting cash, indicate with a plus sign (+) or a minus sign (-) whether the item would be reported as an increase (inflow) or a decrease (outflow).
In: Accounting
Unit- and Batch-Level Cost Drivers
KC, a fast-food restaurant, serves fried chicken, fried fish, and
French fries. The managers have estimated the costs of a batch of
fried chicken for KC's all-you-can-eat Friday Fried Fiesta. Each
batch must be 100 pieces. The chicken is precut by the chain
headquarters and sent to the stores in 10-piece bags. Each bag
costs $3. Preparing a batch of 100 pieces of chicken with KC's
special coating takes one employee two hours. The current wage rate
is $8 per hour. Another cost driver is the cost of putting fresh
oil into the fryers. New oil, costing $3, is used for each
batch.
Round answers to two decimal places, when applicable.
(a) Determine the cost of preparing one batch of 100
pieces.
$Answer
(b) If management projects that it will sell 300 pieces of fried
chicken, determine the total batch and unit costs.
Batch cost $Answer
Unit cost $Answer
(c) If management estimates the sales to be 250 pieces, determine
the total costs.
$Answer
(d) How much will the batch costs increase if the government raises
the minimum wage to $10 per hour?
$Answer
(e) If management decided to reduce the number of pieces in a batch
to 50, determine the cost of preparing 250 pieces. Assume that the
batch would take half as long to prepare, and management wants to
replace the oil after 50 pieces are cooked.
$Answer
In: Accounting
Unit- and Batch-Level Cost Drivers
KC, a fast-food restaurant, serves fried chicken, fried fish, and
French fries. The managers have estimated the costs of a batch of
fried chicken for KC's all-you-can-eat Friday Fried Fiesta. Each
batch must be 100 pieces. The chicken is precut by the chain
headquarters and sent to the stores in 10-piece bags. Each bag
costs $3. Preparing a batch of 100 pieces of chicken with KC's
special coating takes one employee two hours. The current wage rate
is $8 per hour. Another cost driver is the cost of putting fresh
oil into the fryers. New oil, costing $3, is used for each
batch.
Round answers to two decimal places, when applicable.
(a) Determine the cost of preparing one batch of 100
pieces.
$Answer
(b) If management projects that it will sell 300 pieces of fried chicken, determine the total batch and unit costs.
Batch cost $Answer
Unit cost $Answer
(c) If management estimates the sales to be 250 pieces, determine the total costs.
$Answer
(d) How much will the batch costs increase if the government
raises the minimum wage to $10 per hour?
$Answer
(e) If management decided to reduce the number of pieces in a batch to 50, determine the cost of preparing 250 pieces. Assume that the batch would take half as long to prepare, and management wants to replace the oil after 50 pieces are cooked.
$Answer
In: Accounting
Unit- and Batch-Level Cost Drivers
KC, a fast-food restaurant, serves fried chicken, fried fish, and
French fries. The managers have estimated the costs of a batch of
fried chicken for KC's all-you-can-eat Friday Fried Fiesta. Each
batch must be 100 pieces. The chicken is precut by the chain
headquarters and sent to the stores in 10-piece bags. Each bag
costs $2. Preparing a batch of 100 pieces of chicken with KC's
special coating takes one employee two hours. The current wage rate
is $8 per hour. Another cost driver is the cost of putting fresh
oil into the fryers. New oil, costing $3, is used for each
batch.
Round answers to two decimal places, when applicable.
(a) Determine the cost of preparing one batch of 100
pieces.
$Answer
(b) If management projects that it will sell 300 pieces of fried
chicken, determine the total batch and unit costs.
Batch cost $Answer
Unit cost $Answer
(c) If management estimates the sales to be 450 pieces, determine
the total costs.
$Answer
(d) How much will the batch costs increase if the government raises
the minimum wage to $10 per hour?
$Answer
(e) If management decided to reduce the number of pieces in a batch
to 50, determine the cost of preparing 450 pieces. Assume that the
batch would take half as long to prepare, and management wants to
replace the oil after 50 pieces are cooked.
$Answer
In: Accounting
Quantitative Problem: At the end of last year, Edwin Inc. reported the following income statement (in millions of dollars):
| Sales | $4,290.00 |
| Operating costs (excluding depreciation) | 3,058.00 |
| EBITDA | $1,232.00 |
| Depreciation | 345.00 |
| EBIT | $887.00 |
| Interest | 130.00 |
| EBT | $757.00 |
| Taxes (40%) | 302.80 |
| Net income | $454.20 |
Looking ahead to the following year, the company's CFO has assembled this information:
On the basis of this information, what will be the forecast for Edwin's year-end net income? Enter your answers as positive values. Enter your answers in millions. For example, an answer of $10,550,000 should be entered as 10.55. Do not round intermediate calculations. Round your answers to two decimal places.
| Edwin Inc. Income Statement |
|
| (in millions of dollars) | |
| Sales | $ |
| Operating costs (excluding depreciation) | |
| EBITDA | $ |
| Depreciation | |
| EBIT | $ |
| Interest | |
| EBT | $ |
| Taxes (40%) | |
| Net income | $ |
In: Finance
John and his colleagues all get along well. John is meticulous, a little too serious and cleans up after every one – a trait he says he learned due to his mom who was a slob. Sam is the funny guy – he wears bow ties that do not match his suit and has kinky red hair that stays out of control and occasionally bakes cookies for everyone in the office. Finally, Amy is the female of the group, makes sure the males stay on task, do not talk about football all day and is slightly overweight, most likely because she dates Sam and eats his cookies too often. They work at a special needs school with students who have varied backgrounds; one student is diagnosed with emotional disturbance and has tried to stab someone. He is 15 and comes from a wealthy family. His placement there is a secret so his family’s reputation is not ruined. While his IQ is in the low average range, he is an amazing artist and is often asked to draw landscapes for the nearby library and museums. There are also a set of siblings who both have mental retardation due to their mom smoking crack while pregnant with each of them (they are two years apart). Neither child learned spoken language but one learned sign language and another uses a book of pictures/icons to communicate.
How might two different theorist explain John or Sam (pick any two)? What would they say about personality? Development?
In: Psychology
Germany introduced its version of the above game " Heimfreiheit und Spaß." The German branch strongly argued against using the standard deviation of the online game population. They argued that the game is unique in a unique environment. They reported the following daily revenue. Create a 92% confidence interval for the population mean of daily revenue in Germany Day Revenue
| Day | Revenue |
| 1 | $ 5,756.67 |
| 2 | $ 9,830.94 |
| 3 | $ 4,816.01 |
| 4 | $ 14,223.89 |
| 5 | $ 10,165.92 |
| 6 | $ 11,536.27 |
| 7 | $ 369.86 |
| 8 | $ 6,653.34 |
| 9 | $ 4,094.15 |
| 10 | $ 8,991.33 |
| 11 | $ 18,661.26 |
| 12 | $ 19,761.52 |
| 13 | $ 9,941.33 |
| 14 | $ 4,562.90 |
| 15 | $ 5,048.30 |
| 16 | $ 10,797.53 |
| 17 | $ 2,095.75 |
| 18 | $ 7,080.88 |
| 19 | $ 11,508.74 |
| 20 | $ 20,999.13 |
| 21 | $ 13,782.45 |
| 22 | $ 6,777.79 |
| 23 | $ 13,548.91 |
| 24 | $ 2,302.33 |
| 25 | $ 8,151.19 |
| 26 | $ 9,048.90 |
| 27 | $ 8,723.91 |
| 28 | $ 20,045.47 |
| 29 | $ 11,861.94 |
| 30 | $ 9,267.34 |
| 31 | $ 125.79 |
| 32 | $ 11,564.47 |
| 33 | $ 9,663.64 |
| 34 | $ 10,827.95 |
| 35 | $ 13,924.31 |
| 36 | $ 20,185.78 |
| 37 | $ 20,882.18 |
| 38 | $ 10,009.74 |
| 39 | $ 10,734.91 |
| 40 | $ 18,305.92 |
| 41 | $ 13,791.64 |
| 42 | $ 1,195.78 |
| 43 | $ 9,118.23 |
| 44 | $ 8,062.51 |
In: Statistics and Probability