What are similarities. and differences. between running a club versus running a hotel?
In: Operations Management
In: Economics
Trace the following program. This means you need to fill the table in which you show the output of each executed instruction as if you are the computer executing the program. Put your comments under the table.
#include<iostream>
using namespace std;
int main ()
{
cout.setf(ios :: fixed);
cout.setf(ios :: showpoint);
cout.precision(2);
int A=7.5, B=2.5, C; //statement 1
double X,Y;
char Letter;
C = A/B; //statement 2
X = 1.0*A/B; //statement 3
if (C<X)
Letter = 30*C; //statement 4
if (C=X)
Letter = 20*C; //statement 5
if (C>X)
Letter = 10*C; //statement 6
cout << "Letter = " << Letter+10 << endl; //statement 7
Letter = Letter + 10; //statement 8
cout << "Letter = " << Letter << endl; //statement 9
Y = 1.0*(A/B); //statement 10
X = Y/ (B+5) + 2.5; //statement 11
cout.precision(1);
cout << "X = " << X << endl; //statement 12
return 0;
}
In: Computer Science
Use the Northwest Corner Rule to develop an initial solution to th transportation problem shown below. Present your answer in the following format. A to 1 = Qty X, B to 2 = Qty Y, etc
WHS 1 WHS 2 WHS 3 Capacity
Factory A 400
Factory B 300
Factory C 500
Demand 300 500 400
In: Operations Management
Correct and complete this C++ program. You are not allowed to include a directory nor changing a variable type or a loop syntax. Stick on the number of lines.
#include<iostream>
using namespace std;
int main ()
{
int N1, N2;
int power;
cout<<"Please enter N1 and N2 in order to calculate N1^N2. N1 should be a positive number. N2 should be between -9 and 9.\n";
cin>>N1>>N2;
while (…………..)
{
cout<<………………………………………….
cin>>………………………………………….
}
while (…………..)
{
cout<<………………………………………….
cin>>………………………………………….
}
……………………………………………..
if(power>0)
{
for(………… ; ………… ; …………)
………………………………………….
cout<<………………………………
}
else if(power<0)
{
for(………… ; ………… ; …………)
………………………………………….
cout<<………………………………
}
else
cout<<………………………………
return 0;
}
In: Computer Science
In: Psychology
Write a C++ program to computer the nth Fibonacci Number in 3 ways. Clearly define which way you are solving in your code using comments. You must provide an algorithm to solve for the nth Fibonacci Number in 1. a straight-forward recursive solution 2. a top-down memoized solution and 3. a bottom-up dynamic programming solution. These algorithms will be tested with randomly generated input, and a single non-negative number will be given through command line.
In: Computer Science
How do you think the stock market would be affected if the laws were changed so that trading on insider information was no longer illegal? What would be the impact on the goal of the financial manager if such a change were to occur?
In: Finance
What moral questions surround human embryonic stem cell research? What is the main ethical (and legal) consideration with human embryonic stem cell research? What is the difference between embryonic and adult stem cells? Do adult stem cells have the same moral problems?
In: Nursing
Your client is 31 years old. She wants to begin saving for retirement, with the first payment to come one year from now. She can save $11,000 per year, and you advise her to invest it in the stock market, which you expect to provide an average return of 8% in the future.
If she follows your advice, how much money will she have at 65? Do not round intermediate calculations. Round your answer to the nearest cent.
$
How much will she have at 70? Do not round intermediate calculations. Round your answer to the nearest cent.
$
She expects to live for 20 years if she retires at 65 and for 15 years if she retires at 70. If her investments continue to earn the same rate, how much will she be able to withdraw at the end of each year after retirement at each retirement age? Do not round intermediate calculations. Round your answers to the nearest cent.
Annual withdrawals if she retires at 65: $
Annual withdrawals if she retires at 70: $
In: Finance
In: Math
The social error/bias "one of us/" one of them" how are we affected by this and how can we overcome it
In: Operations Management
Kershaw Electric sold $6,000,000, 10%, 10-year bonds on January 1, 2020. The bonds were dated January 1, 2020, and paid interest on January 1. The bonds were sold at 98.
Prepare entries to record issuance of bonds, interest accrual, and bond redemption.
Instructions
Please show all work!
In: Accounting
What is self-efficacy and what is the self-efficacy model based on? Research an article that provides information on self-efficacy and addictions. Using the information provided explain why self-efficacy may be important in effectively treating addictions.
In: Psychology
In: Psychology