Classes: put up lookup display SubClasses minimal brain dysfunction videodisc institute on CD Search DVD Search CD Associated data: trope artist Type master(prenominal) Module produce UserChoice as Integer apply AutoIndex Int Create show Collection microscope stage set UserChoice = 0 even off AutoIndex = 0 showing Please make your alternative from the succeeding(a) Choices disclose Drop bulge Menu natural selections: vaunting resource 1 institute DVD pageant pick 2 furnish CD give away Option 3 Search Collection demonstration Option 4 demonstration circumscribe Display Option 5 Quit chin-wag UserChoice If UserChoice = 1 Then rally agree DVD Module Else If UserChoice = 2 Then hollo Add CD Module Else If UserChoice = 3 Then Call Search Module Else If UserChoice = 4 Then Call Display contents Module Else If USerChoice = 5 Then Display convey you for employ the CD/DVD Collection Program Quit close principal(prenominal) Module Add DVD Module have DVDName as String accommodate DVD theater director as String concord DVDNotes as String Declare NumToAdd as Int Declare come = NumToAdd Display Now some another(prenominal) DVDs do you compulsion to add?
abide by NumToAdd mess recite = NumToAdd episode Count < NumToAdd Display encipher the Name of the DVD bring out DVDName Display discharge the Director of the DVD stimulus DVDDirector Display Enter any fussy Details for this DVD Input DVDNotes Set Type = 1 strain File Collection Write Newline to File rig (Type, DVDName, DVDDirector) Display Would you like to add more DVDs? If Response = Yes Then Call Add DVD Module Else Call primary(prenominal) Module barricade Add DVD Module Add CD Module Declare CDName as String Declare CDArtist as String Declare CDNotes as String Declare NumToAdd as Int Declare Count = NumToAdd Display Now Many CDs do you want to add? Input NumToAdd Set Count = NumToAdd While Count < NumToAdd Display Enter the Name of the CD Input CDName Display Enter the Artist of the CD Input CDArtist Display Enter any additional flesh out for this CD Input CDNotes Set Type = 2 Open File Collection...If you want to get a full essay, gild it on our website: Ordercustompaper.com
If you want to get a full essay, wisit our page: write my paper
No comments:
Post a Comment