Question: char astGendes ( ) { return gender; } isAuthor string print ( ) I seturn name ( + circ left

char astGendes()
\{
return gender;
\}
isAuthor
string print()
I
seturn name \(+\circ\left(0+\right.\) gendes \(\left.+{}^{\circ}\right)\) at \(0+\) casth;
class Book
I
private:
string name;
Author anthos;
double prices;
public:
Book(string name, Author author, double price)
no defeuti construator exists for class A Anthor?
Search Online
string getilame()
t
return nama;
Author getauthos()
!
How can I fix this error for no default constructor
char astGendes ( ) \ { return gender; \ }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!