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:
Answer:
He has to deposit $750.46 every month into the account
Explanation:
Future value id the accumulated amount of principal and compounded interest at the end of a specific investment period.
Assuming interest is compounding every month, use following formula to calculate the amount of payment each month.
FV = PV x ( 1 + r )^n + A x ( ( 1 + r )^n - 1 ) / r
$57,000 = $10,000 x (1+0.1%)^5x12 + A x ( ( 1+0.1% )^5x12 -1 ) / 0.1%
A = { $57,000 - [ $10,000 x ( 1 + 0.001 )^60 ] } / [ ( ( 1 + 0.001 )^60 )-1 / 0.001 ]
A = ( $57,000 - $10,618.05 ) / 61.80471
A = $46,381.95 / 61.80471
A = $750.46
Answer:C. When the item demand is constant
Explanation:
MRP means material requirement planning it shows when materials needs to be replenish for inventory production, so that inventory is only produced as at when needed.
A constant demand will help to determine perfectly when material is needed.
His net pay is $328.16.
The first step is to calculate Jerome’s salary.
Regular time - 40 x $7.80 = $312
Overtime - 5 x $7.80 x 1.5 = $58.50
Total Salary = $312 + 58.50 = $370.50
The next step is to calculate the deductions:
Social security = 370.50 x .062 = $22.97
Medicare = 370.50 x .0145 = $5.37
Federal Income Tax = $14
Total Deductions = 22.97 + 5.37 + 14 = $42.34
$370.50 - $42.34 = $328.16
Answer:A
Explanation:
A regressive tax is a tax impose in such a manner that the tax rate decreases as the amount subject to taxation increases.