0

How to calculate price of inputed quantity

i want to know how to calculate how much the item cost when u buy multiple of it inputing the quantity in a text box and computing its total the total is in a text box. ex: bread $5: 4 soda $1: 5 total: $25

6th Jul 2017, 1:41 PM
Kenny Paala
Kenny Paala - avatar
1 Resposta
+ 1
variable for bread quanity variable for soda quantity variable for bread price variable for soda price variable for total total equals (bread price multiplied by bread quantity) + (soda price multiplied by soda quantity)
6th Jul 2017, 1:52 PM
AgentSmith