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:
The answer to this question is by clicking and draging in the white space to the left of the lines. In word processing, copying and selecting multiple lines is a technique that can help you work on your document faster. Also in word processing, the user can create, edits, and save the document.
<span>When people with disabilities get an adapted driver's license, they become better able to independently function and contribute to society. This feeling facilitates successful self-actualization. An adapted drivers license will also alert government officials, whenever necessary, of any special precautions necessary when aiding these drivers in tasks related to their disability, and in providing proper accommodations as such.</span>
Answer:
2019 2018 2017 2016 2015
Sales 362 237 192 134 100
Cost of goods sold 365 238 195 135 100
Accounts receivable 254 202 191 114 100
Explanation:
Note: See the attached excel file for the table showing how the trend percents are calculated.
Trend percents, often known as index numbers, can be described as percents that are used for comparing financial data across time to a based year or period. This can be calculated using the following formula:
Trend percents = (Analysis year amount / Base year amount) * 100 ........ (1)
Using equation (1), the following table shows the trend percents computed as follows:
2019 2018 2017 2016 2015
Sales 362 237 192 134 100
Cost of goods sold 365 238 195 135 100
Accounts receivable 254 202 191 114 100
Answer:
0.5
Explanation:
A screenshot is attached to get the full solution
Since the coefficient is < 1, it is inelastic