Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CalculateProfit(input) {
- switch(input) {
- case 15.99:
- return 3.79;
- case 17.99:
- return 5.49;
- default:
- return input;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement