Welcome to Media Rental System Menu Welcome to Media Rental System Menu Load Media objects... Find...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Welcome to Media Rental System Menu Welcome to Media Rental System Menu Load Media objects... Find Media object... Rent Media object... Quit X X Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 1 Enter path (directory) where to load from: blah File cannot be opened: Could not load, no such directory Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 1 Enter path (directory) where to load from: C:/tmp-umuc Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 2 Enter your selection : 2 Enter the title: blah There is no media with this title: blah Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 2 Enter the title: Forever Young EBook [id=123, title=Forever Young, year=2018, chapters=20 available=true] MovieDVD [id=126, title=Forever Young, year=2020, size=140.0MB available=false] Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 3 Enter the id: 123 Media was successfully rented. Rental fee = $2.00 Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 2 Enter the title: Forever Young EBook [id=123, title=Forever Young, year=2018, chapters=20 available=false] MovieDVD [id=126, title=Forever Young, year=2020, size=140.0MB available=false] Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 3 Enter the id: 999 The media object id=999 is not found Welcome to Media Rental System Menu Welcome to Media Rental System Menu Load Media objects... Find Media object... Rent Media object... Quit X X Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 1 Enter path (directory) where to load from: blah File cannot be opened: Could not load, no such directory Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 1 Enter path (directory) where to load from: C:/tmp-umuc Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 2 Enter your selection : 2 Enter the title: blah There is no media with this title: blah Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 2 Enter the title: Forever Young EBook [id=123, title=Forever Young, year=2018, chapters=20 available=true] MovieDVD [id=126, title=Forever Young, year=2020, size=140.0MB available=false] Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 3 Enter the id: 123 Media was successfully rented. Rental fee = $2.00 Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 2 Enter the title: Forever Young EBook [id=123, title=Forever Young, year=2018, chapters=20 available=false] MovieDVD [id=126, title=Forever Young, year=2020, size=140.0MB available=false] Welcome to Media Rental System 1: Load Media objects... 2: Find Media object... 3: Rent Media object... 9: Quit Enter your selection : 3 Enter the id: 999 The media object id=999 is not found
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Selected information from Indigo Books & Music Inc.'s income statements for three recent years follows (dollars in thousands): Instructions (a) Calculate gross profit, and profit from operations, for...
-
Once Marsha found out what her raise was to be, how could she have used the notion and elements of distributive negotiation to create a situation where Fred would make a raise adjustment that was...
-
Solve. 3x - 7 = 5x + 10
-
Use the technique discussed in Section9.4 to develop a GEE approach for zeroinflated Poisson model for count responses in longitudinal studies. Section9.4: 9.4 Marginal Models for Longitudinal Data...
-
Darten Restaurants owns and operates several different restaurant chains including Red Snapper and the Olive Grove. The company is considering opening a number of new units in Ohio. There are ten...
-
Supposons un consommateur ayant une richesse W qui est distribue selon une loi de densit de probabilit fw (w). Montrez qu'on peut obtenir une approximation du cot du risque, CR, en utilisant: 1 CRrr...
-
Castle Leasing Corporation, which uses IFRS 16, signs a lease agreement on January 1, 2017 to lease electronic equipment to Wai Corporation, which also uses IFRS 16. The term of the non-cancellable...
-
How can the distribution of power be used to motivate employees?
-
Include the Best case, Average case, and Worst case scenario of adding/removing, deleting/inserting at the beginning, middle, and end, including searching and sorting 1, Sets 2, Maps 3, Heaps thank...
-
Firms are not needed in the new global business environment. Critically discuss.
-
Write the name of best string matching algorithm in terms of time and space complexity.
-
Define all three of the following models: a) The Multi-Period Profit Rate of Growth Model b) The Managerial Utility Maximising Model. c) The Marris Model.
-
Suppose that the total cost equation (TC) for the public utility monopolist is given by: TC = 400+Q Let the demand equation be given by: P=600-60Q What is the profit-maximising price and quantity for...
-
Suppose the following notepad app has the menu clear, bold, and exit. For text writing I have used rich text box. You have to write event handlers that perform the following functionalities for this...
-
A consumer magazine is evaluating five brands of trash compactors for their effectiveness in reducing the volume of typical household products that are discarded. In the experiment, each block...
-
Consider the following class declaration: class RQ1 { private: char * st; // points to C-style string public: RQ1() { st = new char [1]; strcpy(st,""); } RQ1(const char * s) {st = new char [strlen(s)...
-
Carefully consider the following program: #include using namespace std; int main() { char ch; int ct1, ct2; ct1 = ct2 = 0; while ((ch = cin.get()) != '$') { cout < < ch; ct1++; if (ch = '$') ct2++;...
-
Write a program that asks you to enter an automobile gasoline consumption figure in the European style (liters per 100 kilometers) and converts to the U.S. style of miles per gallon. Note that in...
-
Does having more children drive parents to drink more alcohol? We have data on the following variables: \(W A L C=\) budget share (percent of income spent) for alcohol expenditure; INCOME = total net...
-
A researcher has 1100 observations on household expenditures on entertainment (per person in the previous quarter, \$) ENTERT. The researcher wants to explain these expenditures as a function of...
-
An econometrician wishes to study the properties of an estimator using simulated data. Suppose the sample size \(N\) is set to be 100 . The intercept and slope parameters are 100 , and 10 ,...
Study smarter with the SolutionInn App