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:
effective interest rate
Explanation:
The effective interest rate is the rate that an investor actually earns from investing in a bond. The effective interest rate is usually different than the interest rate stated on a bond (e.g. coupon rate).
It is also called market interest rate because bonds are sold in secondary markets at a different price than face value (usually bonds are sold at a premium or at a discount). That price at which the bonds are sold determine if the effective interest rate will be higher or lower than the stated interest rate of the bond.
Answer:
the answer is C hope this helps
An investigator conducting a study of a medical device under an ide is required to complete and sign an investigator's agreement. It is a statement of the investigator's commitment to conduct the investigation in accordance with the agreement, the investigational plan, the IDE and other applicable FDA regulations, etc.,
it also supervise all testing of the device involving human subjects, and
ensure that the requirements for obtaining informed consent are met.