Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function calculation(arg1, arg2, arg3) {
- koz = Number(arg1);
- egg = Number(arg2);
- kur = Number(arg3);
- let kozP = (arg1 * 3.20);
- let eggP = (arg2 * (4.35 * 12));
- let kurP = (arg3 * 5.40);
- let eggbP = (arg2 * (0.15 * 12));
- console.log = ((kozP + eggP + kurP + eggbP).toFixed(2));
- }
- calculation(3, 2, 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement