🔒 Closed Pacheck naman po if anong mali ayaw kasi mag run e (Pseudocode for point of sale system po) salamat po sa sasagot

Status
Not open for further replies.

Mjik02

Elite
Code:
Start
Scan item barcode
get item name
get item quantity
get item price
Detect if items is taxable
If yes, set tax = o.5*price
If lemonCost == 45
else
lemonCost = 45*quantity
If avocadoCost == 30
else
avocadoCost = 30*quantity
If tamarindCost == 12
else
avocadoCost = 12*quantity
Compute sales tax
Print items and prices to receipt
Calculate subtotal
set subtotal=(sum of prices)
Print subtotal to receipt
Print total sales tax on receipt
Print grand total
set amt=prices+tax
Print receipt
End
 
vb po ba ito?
palagay nalang po sa code block/container:
1663997753017.webp
 
vb po ba ito?
palagay nalang po sa code block/container:
View attachment 2182234
Code:
Start
Scan item barcode
get item name
get item quantity
get item price
Detect if items is taxable
If yes, set tax = o.5*price
If lemonCost == 45
else
lemonCost = 45*quantity
If avocadoCost == 30
else
avocadoCost = 30*quantity
If tamarindCost == 12
else
avocadoCost = 12*quantity
Compute sales tax
Print items and prices to receipt
Calculate subtotal
set subtotal=(sum of prices)
Print subtotal to receipt
Print total sales tax on receipt
Print grand total
set amt=prices+tax
Print receipt
End

vb po ba ito?
palagay nalang po sa code block/container:
View attachment 2182234
pseudocode po for POS system po
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 578
    Views
  • 3
    Participants
Last reply from:
Mjik02

Online now

Members online
855
Guests online
2,688
Total visitors
3,543

Forum statistics

Threads
2,276,109
Posts
28,967,662
Members
1,231,121
Latest member
hgfnbvcc
Back
Top