Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Currency/Ring/currency.ring
Normal file
12
Task/Currency/Ring/currency.ring
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Project : Currency
|
||||
|
||||
nhamburger = "4000000000"
|
||||
phamburger = "5.50"
|
||||
nmilkshakes = "2"
|
||||
pmilkshakes = "2.86"
|
||||
taxrate = "0.0765"
|
||||
price = nhamburger * phamburger + nmilkshakes * pmilkshakes
|
||||
tax = price * taxrate
|
||||
see "total price before tax : " + price + nl
|
||||
see "tax thereon @ 7.65 : " + tax + nl
|
||||
see "total price after tax : " + (price + tax) + nl
|
||||
Loading…
Add table
Add a link
Reference in a new issue