Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Currency/Julia/currency.julia
Normal file
13
Task/Currency/Julia/currency.julia
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using Printf
|
||||
|
||||
p = [big"5.50", big"2.86"]
|
||||
q = [4000000000000000, 2]
|
||||
tr = big"0.0765"
|
||||
|
||||
beftax = p' * q
|
||||
tax = beftax * tr
|
||||
afttax = beftax + tax
|
||||
|
||||
@printf " - tot. before tax: %20.2f \$\n" beftax
|
||||
@printf " - tax: %20.2f \$\n" tax
|
||||
@printf " - tot. after tax: %20.2f \$\n" afttax
|
||||
Loading…
Add table
Add a link
Reference in a new issue