Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

C++ please B main. ccx B Movie.ccx B Movie.hx B Book. hx 1 9#ifndef BOOK H #define BOOK_H class Book { JOGOO voow public: Book

C++ please

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

B main. ccx B Movie.ccx B Movie.hx B Book. hx 1 9#ifndef BOOK H #define BOOK_H class Book { JOGOO voow public: Book (int=0, string="", string=""); Book (const Book&); Book(); string getTitle(); string getAuthor(); void print (); private: int id; string title; string author; }; AN #endif Q#ifndef MOVIE H #define MOVIE H #include "Book.h" class Movie public: Movie (string="", string="", int=0); ~Movie (); void print (); private: string title; string screenwriter; int duration; F}; #endif #include using namespace std; #include #include "Movie.h" Movie::Movie (string t, string s, int d) { title = t; screenwriter = 5; duration = d; cout using namespace std; #include #include "Movie.h" Movie::Movie (string t, string s, int d) { title = t; screenwriter = 5; duration = d; cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions