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
Perform a sensitivity analysis by answering the following questions: a. What is the break-even point in sales dollars for RBC? b
Rzqust [24]

a). Break­even point = Total fixed costs ÷ Contribution margin ratio

Contribution ratio = Contribution margin ÷ Total sales

Contribution ratio = $822,212 ÷ $1,953,000 =  0.421

Break­even point = $520,000 ÷ 0.421= $1,235,154.

b). Margin of safety = Total Sales - Break-even point

Margin of safety = $1,953,000 – $1,235,154= $717,846.

c) Target profit =(Total fixed costs + Target profit) ÷ Contribution margin ratio

Target profit = ($520,000 + $200,000) ÷ 0.421= $720,000 ÷ 0.421= $1,710,214

Explanation:

The Data sheet has been added as an attachment

8 0
3 years ago
What opportunities do global markets present for a potential business owner?
algol13

Answer:

If going global has been in your business plans for some time, here's 8 reasons to start preparing for international expansion in 2020.

  • INCREASE REVENUE POTENTIAL. ...
  • ENTRY TO NEW MARKETS. ...
  • NEW CUSTOMER BASE. ...
  • EXPANSION ALLOWS YOU TO DIVERSIFY. ...
  • GREATER ACCESS TO TALENT. ...
  • GAIN COMPETITIVE ADVANTAGE. ...
  • IMPROVE YOUR COMPANY'S REPUTATION.
  • COST SAVINGS
5 0
2 years ago
Read 2 more answers
Explain the nature of promotional plan
kirill [66]

Answer:

A promotional plan of a company refers to the promotional mix. This mix contains decisions regarding the company which would put them on the path of growth and lead them towards success.

This consists of decisions regarding the manufacturing procedures, marketing decisions, market niche decisions, customer care services if required, promotional decisions, planing and strategic organizational decisions and etc.

8 0
3 years ago
Santoyo Corporation keeps careful track of the time required to fill orders. Data concerning a particular order appear below: Ho
Brrunno [24]

Answer:

37.7 hours

Explanation:

Calculation to determine what The delivery cycle time was:

Using this formula

Delivery cycle time=Wait time +Throughput time

Where,

Wait time=28.0

Throughput time=Process time 1.0+ Inspection time 0.4+ Move time 3.2 +Queue time 5.1=9.7

Let plug in the formula

Delivery cycle time=28.0+9.7

Delivery cycle time=37.7

Therefore Delivery cycle time was 37.7

7 0
3 years ago
On November 1 of the current year, Rob Elliot invested $29,750.00 of his cash to form a corporation, GGE Enterprises Inc., in ex
slavikrds [6]

Answer:

1. What is the amount of profit or loss during December?

  • $9,300

2. What were the total expenses for December?

  • $12,950

3. How much was paid for rent?

  • $1,220

Explanation:

we are missing some numbers, so I looked for a similar question. I found one that was almost identical, but the amount of initial paid in capital varied by a little bit. I still used it with the only difference that I used the given common stock, not the common stock that appears in the picture.

Common stock $29,750

retained earnings for November = $5,000

total assets = $56,150

total stockholders' equity = $38,300

retained earnings = $38,300 - $29,750 = $8,550

  • $5,000 from November
  • $3,550 from December

December's profit = $3,550 (retained earnings) + $5,750 (dividends) = $9,300

income statement = $27,250 - total expenses = $9,300 + $5,000 = $14,300

total expenses = $27,250 - $14,300 = $12,950

utilities expense = $12,950 - $6,450 - $4,625 - $1,220 = $655

3 0
3 years ago
Other questions:
  • A broker produces a buyer who is interested in buying a listed property. At closing, the seller is unable to provide marketable
    15·1 answer
  • Michael's Yoga Studio have been entering bills for their purchases as they come in. They pay multiple bills once a week. They us
    5·2 answers
  • Hearing and listening both involve a mental awareness of sounds occurring around you.
    14·1 answer
  • Depreciation is computed from the first of the month of acquisition to the first of the month of disposition. Land A and Buildin
    6·1 answer
  • The following represents the five steps in the revenue recognition model, in random order:
    8·1 answer
  • On a CVP chart, on either side of the break-even point, the vertical distance between the total sales line and the total cost li
    10·1 answer
  • Americans usually recognize hard work, education, and efficiency as desired qualities. where one of these qualities is found, th
    9·1 answer
  • Acme Company has variable costs equal to 30% of sales. The company is considering a proposal that will increase sales by $12,000
    9·1 answer
  • When the fed sells treasury bonds on the open market, it will tend to?
    5·1 answer
  • In three years, when he is discharged from the Air Force, Steve wants to buy an 8,000 power boat.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!