1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mkey [24]
3 years ago
6

Create a Painting class that holds the painting title, artist name, and value. All Paintings are valued at $400 unless they are

FamousPaintings. Include a display function that displays all fields. The FamousPainting subclass overrides the Painting value and sets each Painting’s value to $25,000.
Business
1 answer:
AlexFokin [52]3 years ago
6 0

Answer:

#include<iostream>

#include<string>

#define N 10

#define M 4

using namespace std;

class Painting

{

protected:

string title;

string author;

int value;

public:

Painting(string Title="", stringAuthor="",int Value=400) {title=Title;author=Author;value=Value;}

void setTitle(string newTitle){title=newTitle;}

void setAuthor(string newAuthor){author=newAuthor;}

void display() {cout<<"Title:"<<title<<endl; cout<<"Author:

"<<author<<endl<<"Value:

"<<value<<endl;}

};

class FamousPainting:public Painting

{

public:

FamousPainting(string Title, stringAuthor, int Value=25000): Painting(Title,Author,Value){}

};

int main()

{

Painting *paintings=new Painting[N];

stringfamous[M]={"Degas","Monet",

"Picasso","Rembrandt"};

string title, author;

int i,k,j;

for(i=0;i<N;i++)

{

cout<<"Input title: ";

getline (cin, title);

cout<<"Input author: ";

getline (cin, author);

k=-1;

for(j=0;j<M;j++)

if(famous[j]==author)

{

k=j;

break;

}

if(k>=0)

paintings[i]=FamousPainting(title,author);

else

paintings[i]=Painting(title,author);

}

for(i=0;i<N;i++)

{

cout<<"Painting#"<<i<<":"<<endl;

paintings[i].display();

}

return 0;

}

Explanation:

You might be interested in
Refers to the core business process in which an organization researches, develops, and introduces novel, high-quality products q
Delvig [45]

I believe the answer is: new offering realization process

This process includes all efforts conducted by the orgnization in its effort to develop new products for the market. This process is made to ensure that company able to follow the market trend and does not lose its consumers base. It also help the company getting a head start over its competitors in the market

6 0
4 years ago
When a company in a declining industry attempts to minimize the amount of assets that are employed to reduce the cost structure
Iteru [2.4K]

Answer:

The correct answer will be "Divestment strategy".

Explanation:

  • Liquidating in something like a declining state of just an economy as soon as humanly possible.
  • Attempting to sell the corporation slightly earlier usually significantly increases the firm ’s financial performance, as consumers are still not sure what it is that the economy is expected though the, maybe every organization throughout the industrial sector starts marketing, buyers would have a bargaining benefits as well as expect to be paid very little significance.
3 0
3 years ago
The European system of central​ banks' primary tool for conducting monetary policy is open market operations. It uses this tool
Basile [38]

The European system of central​ banks' primary tool for conducting monetary policy is open market operations. It uses this tool to set the interest rate for very​ short-term inter-bank​ loans, which is known as​ the the overnight cash rate.

<u>Explanation:</u>

The rate at which a depository entity which is usually banks lend or borrow resources in the overnight marketplace with another depository organization, is understood as overnight cash rate. The overnight rate in many places is the interest rate which the central bank establishes to guide monetary policy.

The overnight rate offers the banks with an effective strategy of obtaining short-term funding from central bank depository. Given that a country's central bank controls the overnight rate, it can be implemented as a strong proxy for the motion of short-term interest rates for customers in the wider economy. The greater the overnight rate, the greater the cost of borrowing capital.

3 0
3 years ago
You win a lottery that pays $10,000 each year for the next 5 years beginning next year. How much are your winnings worth today
Anit [1.1K]

Answer:

$43,294.77

Explanation:

Here is the full question used in answering this quetion :

You win a lottery that pays $10,000 each year for the next 5 years beginning next year. How much are your winnings worth today if the market interest rate is 5%?

Present value is the sum of discounted cash flows

PV can be calculated with a financial calculator

Cash flow in year 1 - 5 = $10,000

i = 5%

PV = $43,294.77

To find the PV using a financial calculator:

1. Input the cash flow values by pressing the CF button. After inputting the value, press enter and the arrow facing a downward direction.

2. after inputting all the cash flows, press the NPV button, input the value for I, press enter and the arrow facing a downward direction.  

3. Press compute  

5 0
3 years ago
Conversion costs do not include which of the following costs?
fomenos

Answer:

I am pretty sure the answer is A) direct materials

Explanation:

Conversion cost equals direct labour plus manufacturing overhead

6 0
3 years ago
Read 2 more answers
Other questions:
  • What is a minimally acceptable rate of pay?
    10·1 answer
  • A blue-collar worker is someone in a professional or clerical job who usually earns a salary.
    12·1 answer
  • Warm Hearths, a home fashion magazine, is designed to appeal to people who want to know the latest trends in interior design. It
    6·1 answer
  • The ________ section of a business plan provides an overview of complementary products and services and a summary of the strengt
    6·1 answer
  • g The shareholders' equity of Diakovsky Company at the beginning and end of 20X6 totaled $16,000 and $21,000, respectively. Asse
    10·1 answer
  • You have $100,000 to invest in either Stock D, Stock F, or a risk-free asset. You must invest all of your money. Your goal is to
    6·1 answer
  • What are the business reasons for paying dividends and what are the risks of not paying dividends?
    9·1 answer
  • Assume you are bequeathed $500 by a long-lost cousin. You decide that, for the next year, you will put all that money in the ban
    6·1 answer
  • Illustrate how a liberalized global economy can influence upon natural resources concerning the granting of logging franchise ri
    9·1 answer
  • Parker Hardware Store had net credit sales of $8,000,000 and cost of goods sold of $5,000,000 for the year. The Accounts Receiva
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!