It took me about 2 days but I got it lets see if you can do it. Challenge ends on October 27 the program will then be posted for you viewing
The program is designed to write a three-structured program in structure form with data members and member functions. In addition, it will be using the DO WHILE loop that will loop as many times as the user desires. It will be called from the main function, 1) a function collecting the data, 2) a function processing the data, and 3) a function printing out the data. The program is to assign a status of either Child or Adult, depending on the rating of the DVD. If customer age less than 18 and status is adult, response should be Cannot Purchase otherwise response should be Purchase Authorized. It should be inputted in the following manner:
Title of Dvd
Cost of DVD
Web Site
Rating
Number of Minutes
Star of Movie
Year of Copyright
Maker of Movie
Age of Customer
And should be outputted in the following manner:
DVD Purchase
Title: XXXXXXXXXXXXXXXXXXXXXXXXX
Web Site: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Star: XXXXXXXXXXXXXXXXXXXXXXXXX
Maker of Film: XXXXXXXXXXXXXXXXXXXXXXXXX
Rating: XXX
Number of Minutes: 999
Year of Copyright: 9999
Cost: $999.99
Customer Age: 99
Status: XXXXXX
Response: XXXXXXXXXXXXXXXXXXXX
Do you want to continue(y/n)?