We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 706702d commit a6250d0Copy full SHA for a6250d0
hm2-4.html
@@ -0,0 +1,34 @@
1
+<meta charter="utf8">
2
+
3
+<script>
4
+ function sum(a, b) {
5
+ var result = 0;
6
+ result = a + b;
7
+ return result;
8
+ }
9
+ console.log(sum(3, 7));
10
11
+ function subtract(a, b) {
12
13
+ result = a - b;
14
15
16
17
+ console.log(subtract(5, 9));
18
19
+ function multiply(a, b) {
20
21
+ result = a * b;
22
23
24
25
+ console.log(multiply(9, 11));
26
27
+ function divide(a, b) {
28
29
+ result = a / b;
30
31
32
33
+ console.log(divide(15, 17));
34
+</script>
0 commit comments