Answered You can buy a ready-made answer or pick a professional tutor to order an original one.
Design a class named MagazineSubcription that has fields for a subscriber name,magazine name,and number of months remaining for the subscription.Include methods to set and get values for each data fie
Design a class named MagazineSubcription that has fields for a subscriber name,magazine name,and number of months remaining for the subscription.Include methods to set and get values for each data field.Create the class diagram and write pseudocode that defines the class. Design an application that declares two MagazineSubscription objects and sets and displays their values.
Design a class named MagazineSubcription that has fields for a subscriber name,magazine name,and number of months remaining for the subscription.Include methods to set and get values for each data field.Create the class diagram and write pseudocode that defines the class. Design an application that declares two MagazineSubscription objects and sets and displays their values.
- @
- 1 order completed
- ANSWER
-
Tutor has posted answer for $25.00. See answer's preview
************************************************** ******************** *********************** *** +setSubscriberName(subName * ******* : **** ************************ * string) * **** ************************** : **** * **** +getSubscriberName() * ****** ****************** : ****** ********************* * *********************** ******************************** ******* ****** subscriberNameprivate ****** ******************* *** *********************** void *********************** ********************** * ******************* **** setMagazineName(string magName)magazineName = ******************* void ********************** months)monthsRemaining * ****************** ****** getSubscriberName()return subscriberNamepublic ****** getMagazineName()return ******************** num ************************** ********************************************************** myMagazineHousePlant ************************************************* Jones”)myMagazinesetMagazineName(“Time”) myMagazinesetMonthsRemaining(5)yourMagazinesetSubscriberName(“Jack Smith”) ***************************************** yourMagazinesetMonthsRemaining(1)output *********************** 1 info”output ************* ***** ” myMagazinegetSubscriberName()output *********** ***** *** ********************************* ********* ********** ” ************************************** *********************** * info”output ************* ***** *** ************************************* *********** Name: *** *********************************** “Months ********** *** ****************************************