Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please submit a report on the Assignment submission page with the solution to the next verbal problem: 1. Analyze the following problem. Gaddis, 2015, Programming

image text in transcribed Please submit a report on the Assignment submission page with the solution to the next verbal problem: 1. Analyze the following problem. Gaddis, 2015, Programming Challenger, 2. Movie Profit, Chapter 11, p.651. 2. Design a class named MovieData that holds four attributes: a. Define one attribute called title of char * data type b. Define one attribute called director of char * data type c. Define a one attribute called yearRealease of int data type. d. Define one attribute called runningTime of floating-point type. e. Define one attribute called productionCost of floating-point type. f. Define one attribute called revenues of floating-point type. 3. (10 pts.) Use this pointer notation in your member functions and (5 pts.) enable the cascade effect in call member functions. 4. (5 pts.)Throwing exceptions through objects belonging to the classes NegativeProductionCost. 5. (5 pts.)Throwing exceptions through objects belonging to the classes NegativeRevenues. 6. (20 pts.) Implement your code with Constructors, Destructor, Copy Constructor, Mutators, and Accessor functions. 7. (15 pts.) Overload operators =,. 8. Show each overloaded operator your Copy Construction function and ask the user the data movie to perform the operations in the driver program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions