Questions
C++ The txt file is not showing up in my output #include <iostream> #include <fstream> #include...

C++

The txt file is not showing up in my output

#include <iostream>
#include <fstream>
#include <string>
#include "Classroom.h"


using namespace std;

Classroom myLib;

void loadDataset(string fileName) 
{
        ifstream myFile;
        myFile.open(fileName.c_str());
}


void continueMessage(string message) {
        cout << message << endl;
        cout << "Press Enter to continue.." << endl; cin.get();
}

int main() 
{       
        
        string fileName = "dataset.txt";
        loadDataset(fileName);

        myLib.print();
        continueMessage;

        string ID = "Janet Newman";
        myLib.removeStudent (ID);
        continueMessage("Janet Newman has been removed.");
        //---------------------------------------------------------------------------
        myLib.print();
        continueMessage("All students are listed!");

        return 0;
}

In: Computer Science

Christopher Chamberlain has a monthly mortgage payment of $1145.50 and an annual property tax bill of...

Christopher Chamberlain has a monthly mortgage payment of $1145.50 and an annual property tax bill of $1074. The annual fire insurance premium is $720. Find the total monthly payment for the mortgage, property tax and fire insurance.

In: Finance

Hypothetical Telecommunications Discussion 2929 unread replies.2929 replies. Please read the case and answer the questions at...

Hypothetical Telecommunications Discussion

2929 unread replies.2929 replies.

Please read the case and answer the questions at the end. Please respond to two of your peers. Do you agree or disagree?

Sales at a large telecommunications company were down for the third quarter. Management reviewed several strategies to improve sales and concluded that one solution would be to improve training for the large, dispersed sales force.

For the sake of expediency, the training department began using a needs assessment it conducted several years before as a basis to develop enhanced training. The plan was first to update the original needs analysis, and then to develop new training strategies on the basis of what it found. The department also began investigating new training technologies as a possible means to reduce training delivery costs. However, management was so intent on doing something quickly that the training department was ultimately pressured into purchasing a generic, off-the-shelf package by a local vendor.

One of the features of the package that appealed to management was that the course could be delivered over the Web, saving the time and expense of having the sales force travel to the main office to receive training. Hence, even though the package was costly to purchase, the company believed that it was a bargain compared to the expense of developing a new package in-house and delivering it in person to the sales force.

Six months after the training had been delivered, sales were still declining. Management turned to the training department for answers. Because no measures of training performance had been collected, the training department had little information upon which to base its diagnosis. For lack of a better idea, members of the training department began questioning the sales force to see if they could determine why the training was not working.

Among other things, the salespeople reported that the training was slow and boring and that it did not teach them any new sales techniques. They also complained that, without an instructor, it was impossible to get clarification on things they did not understand. Moreover, they reported that they believed sales were off not because they needed training in basic sales techniques, but because so many new products were being introduced that they could not keep up. In fact, several of the salespeople requested meetings with design engineers just so they could get updated product information.

Questions:

  1. Outline the key decisions made from the beginning to the end of this case. Who made each of those decisions, and why?
  2. Describe the ideal process for handling the concern about declining sales, ignoring for now the pressure from management.
  3. What arguments could be made to convince management that working with an outdated needs assessment is not wise?
  4. If you were asked to develop a training program for these sales agents, what content, method, and media would you choose? Explain your answers as best you can, given the limited information provided.

Source: Excerpted from Eduardo Salas and Janice A. Cannon-Bowers, “Design Training Systematically,” in Edwin A. Locke (ed.), Handbook of Principles of Organizational Behavior (Oxford, UK: Blackwell, 2000).

In: Operations Management

Doak Corp. is evaluating a project with the following cash flows: Year Cash Flow 0 –$...

Doak Corp. is evaluating a project with the following cash flows: Year Cash Flow 0 –$ 15,700 1 6,800 2 8,000 3 7,600 4 6,400 5 – 3,800 The company uses an interest rate of 12 percent on all of its projects. Calculate the MIRR of the project using all three methods.

In: Finance

First Day on the Job Discussion Please read the case and answer the questions at the...

First Day on the Job Discussion

Please read the case and answer the questions at the end. Please respond to two of your peers. Do you agree or disagree?

Malik's first day as a new manager ended up more challenging than he expected. While having to adjust to a new workplace and new colleagues, he had an interesting management challenge thrown at him. Toward the end of the day, one of his employees came to him, looking frustrated and exhausted. Malik had heard that this employee was going to be one of his best, a high-potential employee who would be a great asset. On this day, the employee did not look to be an asset to anyone.

Without providing much history or detail, this employee explained to Malik that she is planning to quit her job. She is exhausted and frustrated, she explains because the work seems to be at once too much and too little. She feels overworked, but at the same time, she does not feel any excitement about her work. She doesn't feel she is being challenged to learn skills that will help her to reach the ultimate goal of owning her own business.

Unfortunately, Malik has to leave for the day before you can get more information. What should he do? Answer these questions, and formulate a plan of action.

Questions:

  1. What might be the factors that are causing this employee's dissatisfaction?
  2. Which of these factors could be addressed with improvements in the way the organization handles development as described in this chapter?
  3. What should Malik do tomorrow with regard to this employee?
  4. What long-term changes should Malik suggest for this organization, if it appears that this employee is not the only one with these complaints?

In: Operations Management

In DrRacket Write a function, removeAll, which takes two lists, list-a and list-b and returns a...

In DrRacket

Write a function, removeAll, which takes two lists, list-a and list-b and returns a list containing only the items in list-a that are not also in list-b. E.g., (remove-all '(a b b c c d) '(a c a)) -> '(b b d)

In: Computer Science

Assume that sales will grow at 5.00%. The following accounts (cash, accounts receivable, inventory, net fixed...

Assume that sales will grow at 5.00%. The following accounts (cash, accounts receivable, inventory, net fixed assets, accounts payable and accruals, as well as operating costs) are assumed to change with sales and will maintain their current percentage of sales rates into 2016. The dividend payout ratio will remain the same. Long-term debt and notes payable will remain constant into 2016 as will interest expense, as a result. The firm also does not plan to issue any additional common stock or conduct any share repurchases. The firm’s tax rate is 40%. Any additional funds needed will be sourced through a line-of-credit (LOC) and surpluses will be paid out through a special dividend.

2015
Sales $1,450.00
Operating Costs: $1,265.00
EBIT $185.00
Interest $35.00
Earnings Before Taxes $150.00
Taxes (40%) $60.00
Net Income $90.00
Dividends $45.00
Addition to Retained Earnings $45.00


BALANCE SHEET AS OF 12/31/2015:

ASSETS 2015
Cash $72.50
Accounts Receivable $145.00
Inventory $290.00
Current Assets $507.50
Net Fixed Assets (Net PPE) $362.50
Total Assets (TA) $870.00
LIABILITIES & SHAREHOLDER EQUITY 2015
Accounts Payable and Accruals $36.25
Notes Payable $40.00
Current Liabilities $76.25
Long Term Debt $310.00
Total Liabilities $386.25
Common Stock $300.00
Retained Earnings $183.75
Owners' Equity $483.75
Total Liabilities and Shareholder Equity $870.00

Using the percent-of-sales forecast approach, forecast the 2016 income statement and balance sheet. Be sure the balance sheet balances.

What is the Projected Special Dividend (if any)?

Enter 0 if none.

Submit

Answer format: Currency: Round to: 2 decimal places.

In: Finance

You have found the following historical information for the Daniela Company: year 1 year 2 year...

You have found the following historical information for the Daniela Company:

year 1 year 2 year 3 year 4
stock price $46.48 $61.43 $65.39 $63.59
EPS 2.47 2.53 2.70 2.69

Earnings are expected to grow at 8 percent for the next year. Using the company's historical average PE as a benchmark, what is the target stock price in one year?

In: Finance

Why does this not work? (Javascript) public void addStep(List<String> instructions) {        Iterator<String> iter =...

Why does this not work? (Javascript)

public void addStep(List<String> instructions) {
       Iterator<String> iter = instructions.iterator();
       while (iter.hasNext()) {
           String step = iter.next();
           if (instructions.contains(step) == false) {
               iter.add(step);
           }
       }
   }

In: Computer Science

1. a) why is it important to plan communications on any project? b) Why is it...

1. a) why is it important to plan communications on any project?

b) Why is it important that stakeholders validate documented requirements?

In: Operations Management

Term paper on the evolution of artificial sweeteners and their effect on cancer.

Term paper on the evolution of artificial sweeteners and their effect on cancer.

In: Biology

C# Programming; Create a Windows Form Application that displays a scrollable list of 10 random integers...

C# Programming;

Create a Windows Form Application that displays a scrollable list of 10 random integers in the range of 1 to 100. The form should also have (1) an Add button (and input textbox) for the user to add a new number to the list, (2) a Delete button to delete the current selected integer, (3) a Sort button to sort the list, (4) a Reverse button to display the list in reverse order, and (5) Display Multiple (and input textbox) for the user to only display multiples of a particular input value from the list.

Can you help me with the instruction above to do the coding. can you give me example code for the instruction given.

In: Computer Science

What would be the consequences (positive or negative) of one world language? How does this relate...

What would be the consequences (positive or negative) of one world language? How does this relate to the Biblical account of the Tower of Babel?

In: Psychology

NPV AND IRR A store has 5 years remaining on its lease in a mall. Rent...

NPV AND IRR

A store has 5 years remaining on its lease in a mall. Rent is $2,000 per month, 60 payments remain, and the next payment is due in 1 month. The mall's owner plans to sell the property in a year and wants rent at that time to be high so that the property will appear more valuable. Therefore, the store has been offered a "great deal" (owner's words) on a new 5-year lease. The new lease calls for no rent for 9 months, then payments of $2,500 per month for the next 51 months. The lease cannot be broken, and the store's WACC is 12% (or 1% per month).

  1. Should the new lease be accepted? (Hint: Be sure to use 1% per month.)

    ?
  2. If the store owner decided to bargain with the mall's owner over the new lease payment, what new lease payment would make the store owner indifferent between the new and old leases? (Hint: Find FV of the old lease's original cost at t = 9; then treat this as the PV of a 51-period annuity whose payments represent the rent during months 10 to 60.) Round your answer to the nearest cent. Do not round your intermediate calculations.

    $ _______
  3. The store owner is not sure of the 12% WACC—it could be higher or lower. At what nominal WACC would the store owner be indifferent between the two leases? (Hint: Calculate the differences between the two payment streams; then find its IRR.) Round your answer to two decimal places. Do not round your intermediate calculations.

    _________%

In: Finance

Calculating Project NPV Down Under Boomerang Inc. is considering a new three-year expansion project that requires...

Calculating Project NPV Down Under Boomerang Inc. is considering a new three-year expansion project that requires an initial fixed asset investment of $3,950,000. The fixed asset will be depreciated straight-line to zero over its three-year tax life, after which time it will be worthless. The project is estimated to generate $3,175,000 in annual sales, with costs of $1,455,000. The tax rate is 35 percent and the required return is 10 percent. What is the project’s NPV?

In: Finance