Questions
C++ Write a program that reads in two Integers. A starting number and a number of iterations. For each iteration, you generate a new number that is the result of reading off the number of same digits in the original number. output each Iteration

C++

 

In: Other

Many of you probably played the game “Rock, Paper, Scissors” as a child. Consider the following...

Many of you probably played the game “Rock, Paper, Scissors” as a child. Consider the following variation of that game. Instead of two players, suppose three players play this game, and let us call these players A, B, and C. Each player selects one of these three items—Rock, Paper, or Scissors—independent of each other. Player A will win the game if all three players select the same item, for example, rock. Player B will win the game if exactly two of the three players select the same item and the third player selects a different item. Player C will win the game if every player selects a different item. If Player B wins the game, he or she will be paid $1. Assuming that the expected winnings should be the same for each player to make this a fair game, how much should Players A and C be paid if they win the game?

In: Statistics and Probability

Question An item is up for auction. Player 1 values the item at 3 while player...

Question An item is up for auction. Player 1 values the item at 3 while player 2 values the item at 5. Each player can bid either 0, 1, or 2. If player i bids more than player j then i wins the good and pays his bid, while the loser does not pay. If both players bid the same amount then a coin is tossed to determine who the winner is, and the winner gets the good and pays his bid while the loser pays nothing.

(a) Write down the game in matrix form.

(b) What will be the Nash equilibrium?

(c) What will be the equilibrium (SPNE) if player 1 bids first?

(d) What if player 2 goes first?

I got (1/2 , 3/2 ) for question b is that correct?

Can Someone help me with b, c and d ?

In: Economics

To prepare for the Week 6 Assessment, choose a well-known corporation, such as Samsung, Starbucks, Ford...

To prepare for the Week 6 Assessment, choose a well-known corporation, such as Samsung, Starbucks, Ford Motor Company, or Waste Management, that implemented a major change. Analyze the corporation’s change process based on Kotter’s 8-Step to Change using the Organizational Change Chart.

Kotter's 8-Step Change Model

  • Step One: Create Urgency.
  • Step Two: Form a Powerful Coalition.
  • Step Three: Create a Vision for Change.
  • Step Four: Communicate the Vision.
  • Step Five: Remove Obstacles.
  • Step Six: Create Short-Term Wins.
  • Step Seven: Build on the Change.
  • Step Eight: Anchor the Changes in Corporate Culture

Was this a positive organizational change? Why or why not? If so, what strategies and tactics were effective or ineffective in creating positive organizational change? What strategies and tactics would have worked better?

In: Operations Management

Refer Tax Rate Schedules to answer the following questions. For each of these dependents, calculate the...

Refer Tax Rate Schedules to answer the following questions.

For each of these dependents, calculate the income tax on their taxable income. In each case, assume that their parents, who file jointly, have taxable income of $133,500.

If an amount is zero, enter "0". Round percent calculations to two decimal places. Round intermediate computations and final answer to the nearest dollar.

1. Loretta is 18. She earns $4,720 as a lifeguard during the summer. In addition, Loretta wins a rescue contest and receives a municipal bond worth $680. During the year, the bond pays $20 in interest.

2. Eva is 15. Her income consists of municipal bond interest of $780, stock dividends of $1,400, and interest credited to her savings account of $850.

3. Greg is 2. He has certificates of deposit given to him by his grandparents that pay $2,360 in interest.

In: Accounting

(1) What is the impact of a minimum wage above the equilibrium wage on the quantity...

(1) What is the impact of a minimum wage above the equilibrium wage on the quantity of labor supplied and demanded? (Practice drawing a supply and demand graph that shows this. Notice how the impact is affected if the supply curve is flatter or steeper, i.e., more elastic or inelastic. I will post the graph(s) to this discussion thread, after your initial responses are due. You need not submit any graphs in this Discussion Topic post, but you may find it helpful to draw them and refer to them in your response.) (2) Should our government require employers to pay their workers at least some minimum (or living) wage? If so, why, and how high should the minimum wage be? Who wins and who loses from minimum wage laws? Can you think of a better way our government can help low-income workers?

In: Economics

Confused about going through this C program. Thank you Program Specifications: *********************************************** ** MAIN MENU **...

Confused about going through this C program. Thank you

Program Specifications:

***********************************************

** MAIN MENU **

***********************************************

A) Enter game results

B) Current Record (# of wins and # of losses and # of ties)

C) Display ALL results from all games WON

D) Display ALL results ordered by opponent score from low to high.

E) Quit

Your program will have a menu similar to the example above. The game

results will simply be the score by your team and the score by your

opponent. The user will enter a single game result at a time. This

assignment requires the use of a 2D array. You will not need the date of

the game or the names of the teams. All cases will be written within user

defined function. Functions should be used as much as possible.

YOU CANNOT:

Use global variables, in this or any program ever.

Use goto statement(s), in this or any program ever.

In: Computer Science

Presidential stature In a race for U.S. president, is the taller candidate more likely to win?...

Presidential stature
In a race for U.S. president, is the taller candidate more likely to win?
1.4.28 In the first election of the 20th century, Theodore Roosevelt (178 cm) defeated Alton B. Parker (175 cm). There have been 27 additional elections since then, for a total of 28. Of these, 25 elections had only two major party candidates with one taller than the other. In 19 of the 25 elections, the taller candidate won.
a. Let π = P(taller wins). State the research hypothesis in words and in symbols.
b. State the null and alternative hypotheses in words and symbols.
c. Compute the appropriate p-value using an applet.
d. If you take the p-value at face value, what do you
conclude?
e. Are there reasons not to take the p-value at face value? Is yes, list them

In: Math

D5 Assume that your company sells portable housing to both general contractors and the government. It...

D5 Assume that your company sells portable housing to both general contractors and the government. It sells jobs to contractors on a bid basis. A contractor asks for three bids from different manufacturers. The combination of low bid and high quality wins the job. However, jobs sold to the government are bid on a cost-plus basis. This means the price is determined by adding all costs plus a profit based on cost at a specified percent, such as 10%. You observe that the amount of overhead applied to government jobs is higher than that applied to contract jobs. These allocations concern you. Point: Students could compare responses and discuss differences in concerns with allocating overhead. Required Write a half-page memo to your company’s chief financial officer outlining your concerns with overhead allocation.

Please do not reply with image I will appreciate text.

In: Accounting

Sam's Beauty School is a privately owned beauty school that trains cosmetologists to earn their cosmetology...

Sam's Beauty School is a privately owned beauty school that trains cosmetologists to earn their cosmetology license to become hair stylists and colorists. Sam's is open to the public for all hair services; students perform hair services for clients under the supervision of licensed cosmetologists that work at Sam's. Jan went the Sam's to have her hair colored dark brown as she had done many times, although this was Jan's first time as a client at Sam's. Tom, a student trainee at Sam's, colored her hair. Jan's hair turned green and fell out within 24 hours. Jan had never had any problems with hair color previously. Jan sued Sam's for negligence. Who wins and why? Be sure to provide the elements of negligence and how they would be applied in this case. Also raise any defenses to negligence that Sam’s may have.

In: Operations Management