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]
2 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]2 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
The band estimates it will use this equipment for four years, during which time it anticipates performing about 200 concerts. It
grin007 [14]

Answer:

There are several question

Explanation:

You do not provide the equipment adquisition value.

I will help you with this incomplete question, by giving you the procedure to reach the answers of your problem:

The <u>information about concerts is not useful </u>to determinate the straight-line depreciation, so you will ignore that part, on striaght-line you must focus on the espected life of the long-term asset, the adquisition value and the salvage value.

For depreciation expense for year 1.

You will do (adquisition value - salvage value ($2,000)) /4 years

The first part means, the ammount from which the band purchase the equipment, less the ammount they can sell it at the end of his useful life. This will be the <em>ammount subject to depreciation.</em>

Last part will be to divide this by the useful life in year.

Book value at the moment of revision will be:

<em>book value  = </em>adquisition value - acumulated depreciation

Were the acumulated depreciation will be sum of the depreciation expense over the years. In this case we only have 1 depreciation so it will be

acumulated depreciation: dep expense year 1

<em />

Remaining depreciable cost at year 1 will be:

<em>amount subject to depreciation  - acumulated depreciation</em>

remember that amount subject to depreciation will be:

adquisition value - salvage value

and the acumulated depreciation is the sum of the depreication of each year.

For depreciation expense for year 2

Then you will do (adquisition value - salvage value) / 3 years

Because the expected life decrease this value will be higher than year 1

7 0
3 years ago
Consider the following restaurants: Pizza Hut, Popeyes, and Taco Bell. When conducting a review on any business, the first thing
alisha [4.7K]

Answer:

Strengths:

- Name recognition is the biggest strength.  

- they offer variety of products than its competitors  and the products    are of good quality at an affordable price.

Weaknesses:

- As it is being run as full-fledged restaurant overhead cost is high.  this means their overhead cost is higher.

- They mostly cover urban areas with a considerable population and customer segment.

Opportunities:

- They have further scope to increase their product line according to the location and increase the revenue.  

- Their facilities can be made more attractive and innovative to engage more customers.

- the business can lend and promote discounts to increase the satisfaction level of the customer.

Threats:

- increasing competition.

- Raising raw material price, especially dairy products that costomers want/need.

the business should work on:

The company has to focus more on new product development. Further, it is recommended to customize the taste of the product according to the local needs. Also, if the overhead cost is reduced by implementing modern and more economical infrastructure facility. The company has to make sure that, the facility also attract more customers. This would be added advantage to provide more offers and discounts to the customer. Hence this would increase customer satisfaction and bring more loyal customers.

Explanation:

6 0
2 years ago
Hypotension in a child with blunt or penetrating trauma is particularly significant because?
kifflom [539]

Hypotension in a child with blunt or penetrating trauma is particularly significant because it often indicates the loss of half of his or her blood volume.

<h3>What is a Hypotension?</h3>

This refers to the decrease in systemic blood pressure below accepted low values. There is no accepted standard hypotensive value, but any pressures less than 90/60 are recognized as hypotensive.

Therefore, the condition is significant because it often indicates the loss of half of his or her blood volume.

Read more about Hypotension

brainly.com/question/28039475

#SPJ1

6 0
1 year ago
________ consist(s) of employees representing various functions of the company, such as R&amp;D, design, production, marketing,
zubka84 [21]

Answer:

Cross functional teams

Explanation:

Cross functional teams is the term which is defined as the groups which are made up of the people from the different functional areas within the company or firm such as the human resources, marketing, sales, customer service and distribution.

Under this teams are effective as each member could address the business decision from different view points.  

Therefore, the cross functional teams are the one which compromise of the employees stating the various company functions.

7 0
3 years ago
If the actual labor rate exceeds the standard labor rate and the actual labor hours exceed the number of hours allowed, the labo
vladimir2022 [97]

Answer:

Option D

Explanation:

As both, the actual rate and actual hours exceed the standards rate and standard hours, both rate and efficiency variance will be unfavorable.

And considering that if the actual labor rate exceeds the standard labor rate and if the actual labor-hours exceed the number of hours allowed, the total labor flexible budget variance will be unfavorable. As the variance is the difference between the Standard Cost and Actual Cost. So if both Standard rate & Standard hrs. are more than actual rate & actual hrs., Actual cost will be more than standard cost i.e. the variance will be unfavorable

Option d is correct

8 0
3 years ago
Other questions:
  • Data from a small bookstore are shown in the accompanying table. a larger firm is considering acquiring the bookstore. an analys
    15·1 answer
  • ________ refer to people in an organization's buying center who affect the buying decision; they often help define specification
    13·1 answer
  • A disadvantage of using the payback period to compare investment alternatives is that:
    9·1 answer
  • A manager striving to improve organizational ___________ is accomplishing tasks that help achieve organizational objectives. a.
    15·1 answer
  • A company that lowers its cost per unit by selling more units overall has improved what
    7·2 answers
  • 2017 Sold $1,351,700 of merchandise (that had cost $981,800) on credit, terms n/30. Wrote off $21,500 of uncollectible accounts
    10·1 answer
  • Lila Battle has determined that the annual demand for number 6 screws is 100,000 screws. Lila, who works in her brother’s hardwa
    9·1 answer
  • Reasons why biden/trump would make a good president WITHOUT mentioning the opposing canidate.
    5·2 answers
  • The FED is often referred to as the "_________________" Bank.
    15·1 answer
  • Question 1
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!