COMP248_A4_F2023 - Sample_Outputs (1)

pdf

School

Concordia University *

*We aren’t endorsed by this school

Course

248

Subject

Industrial Engineering

Date

Jan 9, 2024

Type

pdf

Pages

8

Uploaded by ColonelDove3039

Report
©May not be copied or duplicated without the permission of the owner Page 1 of 8 @Dr. Nora Houari Assignment 4-Sample Run +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | Welcome to Concordia CostLessBites Catering Sales Counter Application | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 10 Sorry that is not a valid choice. Try again. | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 1 Content of each PoS: --------------------- PoS #0: 2 x $5 + 1 x $10 + 0 x $12 + 4 x $15 + 1 x $20 Vegetarian - 40825164 - 25/12. Carnivore - 21703195 - 03/12. PoS #1: 2 x $5 + 1 x $10 + 0 x $12 + 4 x $15 + 1 x $20 Vigan - 40825164 - 07/12. Vegetarian - 21596387 - 24/08. PoS #2: 0 x $5 + 1 x $10 + 5 x $12 + 2 x $15 + 0 x $20 Pescatarian - 95432806 - 01/06.
©May not be copied or duplicated without the permission of the owner Page 2 of 8 @Dr. Nora Houari Halal - 42087913 - 18/12. Kosher - 40735421 - 05/04. PoS #3: 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 No PrePaiCards PoS #4: 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 No PrePaiCards | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 2 Which PoS you want to see the content of? (Enter number 0 to 4): 5 Sorry but there is no PoS number 5 --> Try again: (Enter number 0 to 4): 3 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 No PrePaiCards | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 3 List of PoSs with same total $ Sales: PoSs 0 and 1 both have 100 PoSs 0 and 2 both have 100 PoSs 1 and 2 both have 100 PoSs 3 and 4 both have 138
©May not be copied or duplicated without the permission of the owner Page 3 of 8 @Dr. Nora Houari | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 4 List of PoSs with same Sales categories: PoSs 0 and 1 both have 2 x $5 + 1 x $10 + 0 x $12 + 4 x $15 + 1 x $20 PoSs 3 and 4 both have 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 5 List of PoSs with same $ amount of sales and same number of PrePaiCards : PoSs 0 and 1 PoSs 3 and 4
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
©May not be copied or duplicated without the permission of the owner Page 4 of 8 @Dr. Nora Houari | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 6 Which PoS to you want to add an PrePaiCard to? (Enter number 0 to 4): 3 Please enter the following information so that we may complete the PrePaiCard- --> Type of PrePaiCard (Carnivore, Halal, Kosher, Pescatarian, Vegetarian, Vigan): Vigan --> Id of the prepaid card owner: 10234567 --> Expiry day number and month (seperate by a space): 02 12 You now have 1 PrePaiCard | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 2 Which PoS you want to see the content of? (Enter number 0 to 4): 3 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 Vigan - 10234567 - 02/12.
©May not be copied or duplicated without the permission of the owner Page 5 of 8 @Dr. Nora Houari | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 7 Which PoS you want to remove an PrePaiCard from? (Enter number 0 to 4): 4 Sorry that PoS has no PrePaiCards | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 1 Content of each PoS: --------------------- PoS #0: 2 x $5 + 1 x $10 + 0 x $12 + 4 x $15 + 1 x $20 Vegetarian - 40825164 - 25/12. Carnivore - 21703195 - 03/12. PoS #1: 2 x $5 + 1 x $10 + 0 x $12 + 4 x $15 + 1 x $20 Vigan - 40825164 - 07/12. Vegetarian - 21596387 - 24/08. PoS #2: 0 x $5 + 1 x $10 + 5 x $12 + 2 x $15 + 0 x $20 Pescatarian - 95432806 - 01/06. Halal - 42087913 - 18/12. Kosher - 40735421 - 05/04. PoS #3: 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 Vigan - 10234567 - 02/12. PoS #4:
©May not be copied or duplicated without the permission of the owner Page 6 of 8 @Dr. Nora Houari 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 No PrePaiCards | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 7 Which PoS you want to remove an PrePaiCard from? (Enter number 0 to 4): 2 (Enter number 0 to 2): 1 PrePaiCard was removed successfully | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 1 Content of each PoS: --------------------- PoS #0: 2 x $5 + 1 x $10 + 0 x $12 + 4 x $15 + 1 x $20 Vegetarian - 40825164 - 25/12. Carnivore - 21703195 - 03/12. PoS #1: 2 x $5 + 1 x $10 + 0 x $12 + 4 x $15 + 1 x $20 Vigan - 40825164 - 07/12. Vegetarian - 21596387 - 24/08. PoS #2: 0 x $5 + 1 x $10 + 5 x $12 + 2 x $15 + 0 x $20 Pescatarian - 95432806 - 01/06. Kosher - 40735421 - 05/04.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
©May not be copied or duplicated without the permission of the owner Page 7 of 8 @Dr. Nora Houari PoS #3: 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 Vigan - 10234567 - 02/12. PoS #4: 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 No PrePaiCards | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 8 Which PoS do you want to update an PrePaiCard from? (Enter number 0 to 4): 3 Which PrePaiCard do you want to update? (Enter number 0 to 0): 0 --> Enter new expiry date day number and month (seperate by a space): 28 12 Expiry Date updated. | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 2 Which PoS you want to see the content of? (Enter number 0 to 4): 3 3 x $5 + 2 x $10 + 4 x $12 + 1 x $15 + 2 x $20 Vigan - 10234567 - 28/12.
©May not be copied or duplicated without the permission of the owner Page 8 of 8 @Dr. Nora Houari | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 9 Which PoS do you want to add Sales to? (Enter number 0 to 4): 3 How many junior, teen ,medium,big and family meal menu do you want to add? Enter 5 numbers seperated by a space): 1 1 1 1 1 You now have $200.0 | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 2 Which PoS you want to see the content of? (Enter number 0 to 4): 3 4 x $5 + 3 x $10 + 5 x $12 + 2 x $15 + 3 x $20 Vigan - 10234567 - 28/12. | What would you like to do? | | 1 >> See the content of all PoSs | | 2 >> See the content of one PoS | | 3 >> List PoSs with same $ amount of sales | | 4 >> List PoSs with same number of Sales categories | | 5 >> List PoSs with same $ amount of Sales and same number of prepaid cards | | 6 >> Add a PrePaiCard to an existing PoS | | 7 >> Remove an existing prepaid card from a PoS | | 8 >> Update the expiry date of an existing Prepaid card | | 9 >> Add Sales to a PoS | | 0 >> To quit | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please enter your choice and press <Enter>: 0 Thank you for using Concordia CostLessBites Catering Sales Counter Application!