Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function a(input){
- let quadM=input[0];
- let price=(quadM*7.61)-(quadM*7.61)*0.18;
- let discount=(quadM*7.61)*0.18;
- console.log('The final price is: '+price+' lv.')
- console.log('The discount is: '+discount+ ' lv.')
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement