Advertisement
KodingKid

Just some Javascript Calculations

Mar 28th, 2021
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var x = 8;
  2. var y = 13;
  3. var z = x + y;
  4. //Addition
  5. var x = 22;
  6. var y = 3;
  7. var z = x - y;
  8. //Subtraction
  9. var x = 21;
  10. var y = 9;
  11. var z = x * y;
  12. //Multiplication
  13. var x = 8;
  14. var y = 49;
  15. var z = x / y;
  16. //Division
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement