Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
14
Task/Currency/Unicon/currency.unicon
Normal file
14
Task/Currency/Unicon/currency.unicon
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import math
|
||||
|
||||
procedure main()
|
||||
n_burgers := 4000000000000000
|
||||
n_shakes := 2
|
||||
|
||||
price := FxPt(5.50) * n_burgers + FxPt(2.86) * n_shakes
|
||||
tax := (price * FxPt(7.65/100)).round(2)
|
||||
total := price + tax
|
||||
|
||||
write(left("Price", 10), "$", right(price.toString(),21))
|
||||
write(left("Tax", 10), "$", right(tax.toString(),21))
|
||||
write(left("Total", 10), "$", right(total.toString(),21))
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue