Advertisement
zarkoto223

yardGreening

Feb 4th, 2024
599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function a(input){
  2.  
  3.     let quadM=input[0];
  4.  
  5.     let price=(quadM*7.61)-(quadM*7.61)*0.18;
  6.     let discount=(quadM*7.61)*0.18;
  7.  
  8.  
  9.  
  10.     console.log('The final price is: '+price+' lv.')
  11.     console.log('The discount is: '+discount+ ' lv.')
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement