This vending machine provides mobile phone and device accessories such as chargers, power banks, earphones, SIM cards, and screen cleaners 24/7 for convenience. Customers can purchase original brand accessories starting from RM3 to RM50 for the latest Apple, Samsung, Motorola, Blackberry, Sony, and Nokia phones. The pseudocode and flowchart describe the process where the user inserts money, selects an accessory code, the system checks if they have sufficient balance, and dispenses the product or informs them otherwise.
2. Concept
This vending machine provides access to mobile phone/device accessories on
the go and is available 24/7 to meet the ever growing demand for customer
convenience.
Customers are able to purchase an array of mobile phone/device accessories
such as chargers (AC, DC or USB), Power Banks, Earphones, Sim Cards and
Screen Cleaners, for the latest phone including Apple, Samsung, Motorola,
Blackberry, Sony and Nokia.
3. Products :
Chargers (AC, DC, USB)
Power Banks
Earphones
Sim Cards
Screen Cleaners
Price :
STARTING FROM RM3 - RM50
ORIGINAL BRAND
(THE FIGURE ON THE SIDE IS THE EXAMPLE CONCEPT OF "ELECTRONICS
VENDING MACHINE ".)
4. Pseudocode
Start
Display a welcome message and list of available phone accessories with their prices
Initialize the users balance to 0
If the user insert the money
Select phone accessories
Prompt the user to enter the code of the desired accessory
Check if the users balance is sufficient for the selected accessory
If yes
Dispense the accessory
Deduct the price from the balance
Else;
Inform the user of the insufficient balance
If the user choose to exit
Display a thank you message
End the program
Else;
Repeat the following steps until the user choose to exit
Else;
End