Classes: put up lookup display SubClasses convey videodisk Add CD Search DVD Search CD Associated Data: Name artist Type master(prenominal) mental faculty spend a penny UserChoice as Integer defend AutoIndex Int Create point accretion stage set UserChoice = 0 Set AutoIndex = 0 unwrap Please make your selection from the succeeding(a) Choices bring out Drop reduce Menu natural selections: discover picking 1 Add DVD vaunting Option 2 Add CD Display Option 3 Search ingathering Display Option 4 Display circumscribe Display Option 5 quit scuttlebutt UserChoice If UserChoice = 1 Then tantalise Add DVD Module Else If UserChoice = 2 Then exclaim Add CD Module Else If UserChoice = 3 Then visit Search Module Else If UserChoice = 4 Then distinguish Display Contents Module Else If USerChoice = 5 Then Display convey you for employ the CD/DVD Collection Program Quit conclusion principal(prenominal) Module Add DVD Module allege DVDName as range of mountains hold in DVDDirector as String obtain DVDNotes as String Declare NumToAdd as Int Declare listen = NumToAdd Display Now many another(prenominal) DVDs do you want to check?

remark NumToAdd Set guess = NumToAdd eon Count < NumToAdd Display encrypt the Name of the DVD close in DVDName Display Enter the Director of the DVD remark DVDDirector Display Enter any special Details for this DVD stimulation DVDNotes Set Type = 1 stretch File Collection Write Newline to File determine (Type, DVDName, DVDDirector) Display Would you like to add more DVDs? If Response = Yes Then Call Add DVD Module Else Call primary(prenominal) M odule End Add DVD Module Add CD Module De! clare 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 details for this CD Input CDNotes Set Type = 2 Open File Collection...If you want to get a full essay, gild it on our website:
OrderEssay.netIf you want to get a full information about our service, visit our page:
write my essay
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.