PLease use c++
Write a checkbook balancing program. The program will read in, from the console, the following for all checks that were not cashed as of the last time you balanced your checkbook: the number of each check (int), the amount of the check (double), and whether or not it has been cashed (1 or 0, boolean in the array). Use an array with the class as the type. The class should be a class for a check. There should be three member variables to record the check number, the check amount, and whether or not the check was cashed. The class for a check will have a member variable of type Money (as defined on page 662 in the book; Display 11.9) to record the check amount. So, you will have a class used within a class. The class for a check should have accessor and mutator functions as well as constructors and functions for both input and output of a check. In addition to the checks, the program also reads all the deposits (from the console; cin), the old and the new account balance (read this in from the user at the console; cin). You may want another array to hold the deposits. The new account balance should be the old balance plus all deposits, minus all checks that have been cashed.
The program outputs the total of the checks cashed, the total of the deposits, what the new balance should be, and how much this figure differs from what the bank says the new balance is. It also outputs two lists of checks: the checks cashed since the last time you balanced your checkbook and the checks still not cashed.
[ edit: if you can, Display both lists of checks in sorted order from lowest to highest check number.]
In: Computer Science
close sidebar
STAT 213 Assignment 3: Problem 5
Previous Problem Problem List Next Problem
(1 point)
To examine the effectiveness of its four annual advertising promotions, a mail order company has sent a questionnaire to each of its customers, asking how many of the previous year's promotions prompted orders that would not have otherwise been made. The accompanying table lists the probabilities that were derived from the questionnaire, where X is the random variable representing the number of promotions that prompted orders. If we assume that overall customer behavior next year will be the same as last year, what is the expected number of promotions that each customer will take advantage of next year by ordering goods that otherwise would not be purchased?
| X | 0 | 1 | 2 | 3 | 4 |
| P(X) | 0.072 | 0.221 | 0.347 | 0.176 | 0.184 |
Expected value =
equation editor
Equation Editor
A previous analysis of historical records found that the mean value of orders for promotional goods is 35 dollars, with the company earning a gross profit of 22% on each order. Calculate the expected value of the profit contribution next year.
Expected value =
equation editor
Equation Editor
The fixed cost of conducting the four promotions is estimated to be 17000 dollars with a variable cost of 2 dollars per customer for mailing and handling costs. What is the minimum number of customers required by the company in order to cover the cost of promotions? (Round your answer to the next highest integer.)
Breakeven point =
equation editor
Equation Editor
In: Math
Stocks X and Y have the following probability distributions of
expected future returns:
Probability X Y
0.3 2% 25%
0.4 12% 20%
0.3 20% 0%
One investor invests 40% in stock X and 60% in stock Y. Calculate
the expected return, standard deviation, and coefficient of
variation Stocks X and Y. Compute the expected rate of return for
the portfolio.
In: Finance
Stocks X and Y have the following probability distributions of
expected future returns:
Probability X Y
0.3 2% 25%
0.4 12% 20%
0.3 20% 0%
One investor invests 40% in stock X and 60% in stock Y. Calculate
the expected return, standard deviation, and coefficient of
variation Stocks X and Y. Compute the expected rate of return for
the portfolio.
In: Finance
Summarize key data distribution concepts including probability mass functions (PMF), probability density functions (PDF), and cumulative distribution functions (CDF). Based on an organization or any organization you are most familiar with, provide an example of a PMF, an example of a PDF, and an example of a CDF, based on the type of data used in the organization. How would you summarize each of these to someone who is not familiar with each of these functions?
In: Statistics and Probability
What does probability (random) and non-probability (non-random) sampling mean? Give a short example of how each could be performed to collect data. What are the advantages and disadvantages between probability and non-probability sampling? "Random" is a word that is used too often throughout statistics. Find (or create) two examples of the word "random" being used to represent different meanings.
In: Statistics and Probability
A binomial probability experiment is conducted with the given parameters. Compute the probability of x successes in the n independent trials of he experiment.
n=9, p=0.3, x≤3
The probabity of x≤3 succenses is _______ (Round to four decimal places as needed.)
In: Statistics and Probability
Miriam’s Investment Choices: Investment B
|
Investment A |
Investment B |
||
|
Probability |
Returns |
Probability |
Returns |
|
0.30 |
11.0% |
0.40 |
15.0% |
|
0.40 |
15.0% |
0.25 |
20.0% |
|
0.30 |
19.0% |
0.15 |
18.0% |
|
0.20 |
8.0% |
||
Calculate the coefficient of variation for investment B
In: Finance
|
COMMON STOCK A |
COMMON STOCK B |
||||||
|
PROBABILITY |
RETURN |
PROBABILITY |
RETURN |
||||
|
0.25 |
10% |
0.20 |
−5% |
||||
|
0.50 |
15% |
0.30 |
6% |
||||
|
0.25 |
18% |
0.30 |
16% |
||||
|
0.20 |
22% |
||||||
expected
rate of return and
risk)
Summerville Inc. is considering an investment in one of two common stocks. Given the information in the popup window:
, which investment is better, based on the risk (as measured by the standard deviation) and return of each?
a. The expected rate of return for Stock A is
%.
(Round to two decimal places)The expected rate of return for Stock B is
%.
(Round to two decimal places)b. The standard deviation for Stock A is
%.
(Round to two decimal places)The standard deviation for Stock B is
%.
(Round to two decimal places)
c. Based on the risk (as measured by the standard deviation) and return of each stock, which investment is better? (Select the best choice below.)
A.
Stock A is better because it has a higher expected rate of return with less risk.
B.
Stock B is better because it has a lower expected rate of return with more risk.
In: Finance
Explain the difference between convenience, non-probability,
probability, stratified, clustered, and systematic samples.
Write a multi-paragraph response.
I just need each topic explained simply so I can understand and write the paragraphs
In: Math