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
_____ is the method of determining what a business will get in exchange for its products.
Arada [10]

Answer:

pricing

Explanation:

pricing is the amount you pay a buissness for their product.

3 0
3 years ago
Read 2 more answers
Over a five-year span, the ABC Co. reduced the amount of labor it hired. At the same time, the marginal productivity of labor in
tankabanditka [31]

Answer: D. All of the above

Explanation: The three options listed could explain why the productivity of labor increased with a reduction in the quantity of labor hired. The law of diminishing returns states that as more and more inputs of production are added, a time comes in when additional inputs causes no corresponding increase in productivity. At points like this a reduction in the input added would restore productivity.

Reducing the amount of labor obviously is a labour saving technical change. Changes in organizational innovation can also result in changes in productivity.

5 0
3 years ago
Kingbird Company sells 290 units of its products for $18 each to Logan Inc. for cash. Kingbird allows Logan to return any unused
tensa zangetsu [6.8K]

Answer:

Kingbird Company

a. The amount of Net Sales = $5,040.

b. The amount of the estimated liability for refunds = $180

Explanation:

a) Data and Calculations:

Units of products sold to Logan Inc. = 290

Selling price = $18

Sales revenue = $5,220 ($18 * 290)

Cost of each unit = $11

Expected returns = 10/290 = 0.03448

Net sales = $5,220 * (1 - 0.03448)

= $5,040

Estimated liability for refunds = $180 ($5,220 - $5,040)

8 0
3 years ago
Rs.4000 becomes Rs.8000 in 10 years .What is the rate of interest ?​
kaheart [24]

Answer:

7.2%

Explanation:

\sqrt[10]{2}  = 1.072

3 0
3 years ago
Uncertainties such as natural disasters are: Select one: a. Estimated liabilities because the amounts are uncertain. b. Not cont
Dovator [93]

Answer:

d. Disclosed because of their usefulness to financial statements.

Explanation:

A <em>liability</em> is a present obligation (Legal or Constructive) of an Entity that arises as a result of a past event and the settlement of which will result from an out flow of cash from the entity.

One class of Liability that relate to the case is a <em>Provision</em>.A provision is a liability whose amount can be determined with certainty.

A liability whose amount can not be determined with certainty is known as a <em>Contingent liability</em>.A contingent liability is not presented in the financial statements but is  only disclosed in the Financial Statements.

6 0
3 years ago
Other questions:
  • Beginning three months from now, you want to be able to withdraw $3,200 each quarter from your bank account to cover college exp
    6·1 answer
  • When the price of bubble gum is $0.50, the quantity demanded is 400 packs per day. When the price falls to $0.40, the quantity d
    5·1 answer
  • Emily Corporation sells two products: hurricane lamps and flashlights. Hurricane lamps account for 70 percent of the units sold,
    15·1 answer
  • We know that the market should respond positively to good news and that good-news events such as the coming end of a recession c
    8·1 answer
  • What would be an example of increased productivity of capital?a. A forklift moves more pieces per hour when there is a more expe
    13·1 answer
  • An example of a type II error in quality control would be:counting a student s True/False response as incorrect when it is actua
    7·2 answers
  • Al's Bakery has a checkbook balance of $1,650. A $700 deposit was made today and will be added to the available balance tomorrow
    10·1 answer
  • Given the following demand and supply equations determine the market equilibrium price and quantity. QD=30-3p. As=10-5p. Where Q
    6·1 answer
  • Describe two rights and two reposibilities as an employer
    11·1 answer
  • Moving between two points on a ppf, a country gains 8 desktop computers and forgoes 4 laptop computers. the opportunity cost of
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!