Questions
I am getting the fallowing error when I compile my application: mingw32-g++.exe -Wall -fexceptions -g -c...

I am getting the fallowing error when I compile my application:

mingw32-g++.exe -Wall -fexceptions -g -c E:\vmmar\Area\area\main.cpp -o obj\Debug\main.o

E:\vmmar\Area\area\main.cpp: In function 'int main()':

E:\vmmar\Area\area\main.cpp:41:15: error: 'setRadius' was not declared in this scope

setRadius(rad);

^

E:\vmmar\Area\area\main.cpp:42:15: error: 'setShapeId' was not declared in this scope

setShapeId(id);

^

E:\vmmar\Area\area\main.cpp:43:23: error: 'setUnitOfMeasure' was not declared in this scope

setUnitOfMeasure(unit);

^

E:\vmmar\Area\area\main.cpp:44:23: error: 'setShapeType' was not declared in this scope

setShapeType("Circle");

^

E:\vmmar\Area\area\main.cpp:45:41: error: 'getArea' was not declared in this scope

cout << "Area of Circle : " << getArea() << endl;

^

E:\vmmar\Area\area\main.cpp:46:10: error: 'display' was not declared in this scope

display();

^

E:\vmmar\Area\area\main.cpp:57:13: error: 'setLength' was not declared in this scope

setLength(l);

^

Process terminated with status 1 (0 minute(s), 0 second(s))

7 error(s), 0 warning(s) (0 minute(s), 0 second(s))

######################################################################################################################

The following is my entire application:

#ifndef SHAPE_H_INCLUDED
#define SHAPE_H_INCLUDED
#include <iostream>

using namespace std;
const float PI = 3.1415926;

class Shape{
private:
string shapeType;
string shapeId;
string unit_of_measure;

public:
Shape(){}
Shape(string id){
shapeId = id;
}
Shape(string Id, string type, string unit){
shapeId = Id;
shapeType = type;
unit_of_measure= unit;
}

string getShapeType(){
return shapeType;
}

string getSgapeId(){
return shapeId;
}

string getUnitOfMeasure(){
return unit_of_measure;
}

void setShapeType(string type){
shapeType = type;
}
void setShapeId(string id){
shapeId = id;
}
void setUnitOfMeasure(string unit){
unit_of_measure = unit;
}

virtual float getArea() = 0;
};

#endif // SHAPE_H_INCLUDED

###############################################################################################################################
#ifndef AREACIRCLE_H_INCLUDED
#define AREACIRCLE_H_INCLUDED
#include "Shape.h"

using namespace std;

/* Circle Class */
class Circle:public Shape
{
private:
float radius;
public:
/* set value for radius */
void setRadius(float rad)
{
radius = rad;
}
/* get the value of radius */
float getRadius()
{
return radius;
}
// float radius;
}; //float areaCircle;

#endif // AREACIRCLE_H_INCLUDED

###############################################################################################################################
#ifndef AREASQUARE_H_INCLUDED
#define AREASQUARE_H_INCLUDED
#include "Shape.h"

using namespace std;

class Square:public Shape
{
private:
    float sidelen;
public:
/* get the value of length */
    float getLength()
{
    return sidelen;
}
/* set value for length */
void setLength(float l)
{
    sidelen = l;
}
};

#endif // AREASQUARE_H_INCLUDED

################################################################################################################################

#include <iostream>
#include "Circle.h"
#include "Shape.h"

using namespace std;

/* Constructor */
Circle():Shape()
{
{
radius = 0;
}
/* Copy Constructor, which takes a parameter */
Circle(string id, float rad):Shape(id)
{
radius = rad;
}

Circle(string id, string type, string unit, float rad): Shape(id, type, unit){
radius = rad;
}
/* Method to calculate the area of circle */
float getArea()
{
return PI*radius*radius;
}

void display(){
cout<<"Shape Id: "<<getSgapeId()<<endl;
cout<<"Shape Type: "<<getShapeType()<<endl;
cout<<"Unit of Measure: "<<getUnitOfMeasure();
cout<<"Area: "<<getArea()<<endl;
cout<<endl;
}
}


#################################################################################################################################

#include <iostream>
#include "Square.h"
#include "Shape.h"

using namespace std;

Square():Shape()
{
{
sidelen = 0;
}
/* Copy Constructor, which takes a parameter */
Square(string id, float l):Shape(id)
{
sidelen = l;
}

Square(string id, string type, string unit, float l): Shape(id, type, unit)
{
sidelen = l;
}
/* Method to calculate the area of circle */
float getArea()
{
return sidelen * sidelen;
}

void display()
{
cout<<"Shape Id: "<<getSgapeId()<<endl;
cout<<"Shape Type: "<<getShapeType()<<endl;
cout<<"Unit of Measure: "<<getUnitOfMeasure();
cout<<"Area: "<<getArea()<<endl;
cout<<endl;
}
}

####################################################################################################################################

#include <iostream>
#include "Square.h"
#include "Circle.h"
#include "Shape.h"

using namespace std;

int main()
{
/*Circle = circle1;
Square = square1;
*/
float rad;
   float l ;
int menuOption;

string id, type, unit;

do
{ // Starting of while loop
cout << endl << "=========CALCULATE AREA================" << endl;
cout<< endl
<< "Select an Object" << endl
<< " 1: Circle" << endl
<< " 2: Square" << endl
<< " 0: Exit" << endl
<< " Enter Your Choice: ";
cin >> menuOption;

switch(menuOption)
{
case 1:
cout<<"Enter shape id: ";
cin>>id;
cout<<"Enter unit of measure: ";
cin>>unit;
cout<< "Enter radius of the circle : ";
// float rad;
cin >> rad;

setRadius(rad);
setShapeId(id);
setUnitOfMeasure(unit);
setShapeType("Circle");
cout << "Area of Circle : " << getArea() << endl;
display();

break;
case 2:
cout<<"Enter shape id: ";
cin>>id;
cout<<"Enter unit of measure: ";
cin>>unit;
cout<< "Enter length of one side of the square : ";
//float l ;
cin >> l;
setLength(l);
setShapeId(id);
setShapeType("Square");
setUnitOfMeasure(unit);
display();
cout << "Area of Square : " << getArea() << endl;

break;
}

} while(menuOption!=0);
{
   cout << endl<< endl << "============== THANK YOU ===================" << endl<< endl;
return 0;
}
}

##############################################################################################################################

In: Computer Science

Pick immjgration, equality or abortion as a social issue you feel strongly about - Write a...

Pick immjgration, equality or abortion as a social issue you feel strongly about - Write a word letter to an elected official.​ The letter should a) describe your personal views on the issue and how you developed those views; b) identify at least three (3) related U.S. Supreme Court cases that relate to your topic and summarize the main points of these cases, and c) explain whether you think the Court decided these cases correctly, or not. ​Be absolutely sure to include specific quotes from opinions and dissents from at least four separate cases and explain their relationship with each other.​ Lastly, in the conclusion of your letter, be sure to make a recommendation - tell the elected official what you would like them to do and what changes you would like them to make. You should remind them of some of the specific points you raised in your analysis of the cases.
Guidelines for all papers

In: Operations Management

Write a small assessment no more than 2 pages including mention above: Alternatives and improvements to...

Write a small assessment no more than 2 pages including mention above: Alternatives and improvements to refrigerators and freezers in Cape York Community.

Remote Indigenous communities rely on refrigeration and freezers to store large amounts of food over time, ensuring traditional hunting practices can be maintained and people can come and go from Country as needed. This project looks at mechanisms for freezing and storing food beyond the generic available appliances which are dependent on connection to a large, pre-existing solar power supply.

Include the following aspect in this report: write a professional and concise document which draws on appropriate background information. An assignment is well written, contains appropriate references and draws on suitable background information. consider the context of the engineering work including social, cultural, environmental and commercial factors. All required factors are considered with sufficient detail and analysis relevant to the proposed project. And there is evidence that standard engineering principles and practices have been applied to the development of the assignment. The document contains all required elements outlined in the task description including introduction, project objective and possible design criteria.

In: Mechanical Engineering

To test whether extracurricular activity is a good predictor of college success, a college administrator records...

To test whether extracurricular activity is a good predictor of college success, a college administrator records whether students participated in extracurricular activities during high school and their subsequent college freshman GPA.

Extracurricular
Activity
College
Freshman GPA
Yes 3.57
Yes 3.32
Yes 3.86
Yes 3.72
No 2.93
No 3.88
No 3.46
No 2.71
No 3.86
No 2.84

(a) Code the dichotomous variable and then compute a point-biserial correlation coefficient. (Round your answer to three decimal places.)

In: Math

What is a reinforcer? Discuss with respect to the role of the reinforcer in classical and...

What is a reinforcer? Discuss with respect to the role of the reinforcer in classical and instrumental conditioning.

In: Psychology

You've come to the time of year to evaluate your employees. One of your employees, George,...

You've come to the time of year to evaluate your employees. One of your employees, George, is somewhat difficult to evaluate. He seemingly performs his job well and accomplishes everything you assign him. He is also active in organizing the company bowling league and everyone seems to like him as a co-worker because he is very likable. However, he does spend quite a bit of time each day wandering the offices talking about other people's business behind their backs. As his manager, what specific aspects of work performance would you discuss in George's performance evaluation? What aspect of this performance is particularly good for the organization and why?

In: Operations Management

Complete the table below and answer the following questions. The price for this perfectly competitive firm...

Complete the table below and answer the following questions. The price for this perfectly competitive firm is $150. A) Should this firm produce? B) If so, how many units should it produce? C) What is the economic profit or economic loss?

QTY FC VC TC AFC AVC ATC MC MR
0 500
1 650
2 700
3 760
4 840
5 950
6 1090
7 1270
8 1500
9 1790
10 2150

In: Economics

ASAP Use python please!! Write a program including   binary-search and merge-sort in Python. You also need to  modify...

ASAP Use python please!!

Write a program including   binary-search and merge-sort in Python.

You also need to  modify the code posted and use your variable names and testArrays.  

In: Computer Science

Wells Fargo and Moral Emotions On September 8, 2016, Wells Fargo, one of the nation’s oldest...

Wells Fargo and Moral Emotions

On September 8, 2016, Wells Fargo, one of the nation’s oldest and largest banks, admitted in a settlement with regulators that it had created as many as two million accounts for customers without their permission. This was fraud, pure and simple. It seems to have been caused by a culture in the bank that made unreasonable demands upon employees. Wells Fargo agreed to pay $185 million in fines and penalties.

Employees had been urged to “cross-sell.” If a customer had one type of account with Wells Fargo, then top brass reasoned, they should have several. Employees were strongly incentivized, through both positive and negative means, to sell as many different types of accounts to customers as possible. “Eight is great” was a motto. But does the average person need eight financial products from a single bank? As things developed, when employees were unable to make such sales, they just made the accounts up and charged customers whether they had approved the accounts or not. The employees used customers’ personal identification numbers without their knowledge to enroll them in various products without their knowledge. Victims were frequently elderly or Spanish speakers.

Matthew Castro, whose father was born in Colombia, felt so bad about pushing sham accounts onto Latino customers than he tried to lessen his guilt by doing volunteer work. Other employees were quoted as saying “it’s beyond embarrassing to admit I am a current employee these days.”

Still other employees were moved to call company hotlines or otherwise blow the whistle, but they were simply ignored or oftentimes punished, frequently by being fired. One employee who sued to challenge retaliation against him was “uncomfortable” and “unsettled” by the practices he saw around him, which prompted him to speak out. “This is a fraud, I cannot be a part of that,” the whistleblower said.

Early prognostications were that CEO John Stumpf would not lose his job over the fiasco. However, as time went on and investigations continued, the forms and amount of wrongdoing seemed to grow and grow. Evidence surfaced that the bank improperly changed the terms of mortgage loans, signed customers up for unauthorized life insurance policies, overcharged small businesses for credit-card processing, and on and on.

In September of 2016, CEO Stumpf appeared before Congress and was savaged by Senators and Representatives of both parties, notwithstanding his agreement to forfeit $41 million in pay. The members of Congress denounced Wells Fargo’s actions as “theft,” “a criminal enterprise,” and an “outrage.” Stumpf simultaneously took “full responsibility,” yet blamed the fraud on ethical lapses of low-level bankers and tellers. He had, he said, led the company with courage. Nonetheless, by October of 2016 Stumpf had been forced into retirement and replaced by Tim Sloan.

Over the next several months, more and more allegations of wrongdoing arose. The bank had illegally repossessed cars from military veterans. It had modified mortgages without customer authorization. It had charged 570,000 customers for auto insurance they did not need. It had ripped off small businesses by charging excessive credit card fees. The total number of fake accounts rose from two million to 3.5 million. The bank also wrongly fined 110,000 mortgage clients for missing a deadline even though the party at fault for the delay was Wells Fargo itself.

At its April 2017 annual shareholders meeting, the firm faced levels of dissent that a Georgetown business school professor, Sandeep Dahiya, called “highly unusual.”

By September, 2017, Wells Fargo had paid $414 million in refunds and settlements and incurred hundreds of millions more in attorneys’ and other fees. This included $108 million paid to the Department of Veterans Affairs for having overcharged military veterans on mortgage refinancing.

In October 2017, new Wells Fargo CEO Tim Sloan was told by Massachusetts Senator Elizabeth Warren, a Democrat, that he should be fired: “You enabled this fake-account scandal. You got rich off it, and then you tried to cover it up.” Republicans were equally harsh. Senator John Kennedy Texas said: “I’m not against big. With all due respect, I’m against dumb.”

Sloan was still CEO when the company had its annual shareholders meeting in April 2018. Shareholder and protestors were both extremely angry with Wells Fargo. By then, the bank had paid an additional $1 billion fine for abuses in mortgage and auto lending. And, in an unprecedented move, the Federal Reserve Board had ordered the bank to cap its asset growth. Disgust with Wells Fargo’s practices caused the American Federation of Teachers, to cut ties with the bank. Some whistleblowers resisted early attempts at quiet settlements with the bank, holding out for a public admission of wrongdoing.

In May 2018, yet another shoe dropped. Wells Fargo’s share price dropped on news that the bank’s employees improperly altered documents of its corporate customers in an attempt to comply with regulatory directions related to money laundering rules.

Ultimately, Wells Fargo removed its cross-selling sales incentives. CEO Sloan, having been informed that lower level employees were suffering stress, panic attacks, and other symptoms apologized for the fact that management initially blamed them for the results of the toxic corporate culture, admitting that cultural weaknesses had caused a major morale problem.

Questions:

1. What moral emotions seem to have been at play in this case? On the part of the bank’s employees? The bank’s victims? The bank’s regulators? The bank’s shareholders?

2. What factors contributed particularly to the outrage and anger that legislators, regulators, customers, and shareholders felt?

3. Clearly inner-directed emotions such as guilt and embarrassment affected the actions of Wells Fargo employees. Were they always sufficient to overcome the employees’ utilitarian calculation: “I need this job”?

4. Did moral emotions motivate some of the whistleblowers? How?

5. In the wake of everything described in the case study, Wells Fargo has fired many employees, clawed back bonuses from executives, replaced many of its directors, dismantled its sales incentive system and made other changes. Do you think these changes were made out of a utilitarian calculation designed to avoid further monetary penalties, a desire to avoid the shame and embarrassment the bank’s managers and employees were feeling, or a combination of both? If a combination, which do you think played a bigger role? Why?

In: Operations Management

Provide and example of tax elimination. Explain.

Provide and example of tax elimination. Explain.

In: Finance

Randomly selected students participated in an experiment to test their ability to determine when one minute​...

Randomly selected students participated in an experiment to test their ability to determine when one minute​ (or sixty​ seconds) has passed. Forty students yielded a sample mean of 61.6 seconds. Assuming that sigma equals8.7 ​seconds, construct and interpret a 90 ​% confidence interval estimate of the population mean of all students. Click here to view a t distribution table. LOADING... Click here to view page 1 of the standard normal distribution table. LOADING... Click here to view page 2 of the standard normal distribution table. LOADING... What is the 90 ​% confidence interval for the population mean mu ​? nothing less thanmuless thannothing ​(Type integers or decimals rounded to one decimal place as​ needed.)

In: Math

Why would alcohol advertisement on campuses be unconstitutional?

Why would alcohol advertisement on campuses be unconstitutional?

In: Economics

When writing argument, the writer should avoid stating his/her position in the opening paragraph in order...

When writing argument, the writer should avoid stating his/her position in the opening paragraph in order to avoid angering the reader.

True

False

In academic argument, the writer must defend a point of view on an issue that

concerns social justice

does not have a clear right or wrong answer

has a specifically correct answer

allows for strong emotional appeal

An argument is distinguished from a report or descriptive essay in that

the emotional level of the writing is heightened

the writer must inform the reader of the correct answer

the language used is more academic

it must take a stance

Since the audience for an argumentative essay includes the reader who opposes the position defended, the writer must take into consideration the audience's age, education, values, gender, culture, and ethnicity.

True

False

A good argument must acknowledge and explain the counter-argument(s) in an argumentative essay.

True

False

In: Operations Management

Explain the IPO framework for understanding human behavior. How it can be used by leaders to...

Explain the IPO framework for understanding human behavior. How it can be used by leaders to understand how to manage their followers?

In: Operations Management

A hotel runs several advertisements in the student newspaper of a local university, promoting its Sunday...

A hotel runs several advertisements in the student newspaper of a local university, promoting its Sunday brunch menu. The ads increase the number of people visiting its restaurant, but only slightly.  Is the campaign necessarily a failure? What other goals might the hotel have for this advertising campaign? (Answer thoroughly.)

In: Operations Management