-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQ7.js
More file actions
28 lines (25 loc) · 744 Bytes
/
Copy pathQ7.js
File metadata and controls
28 lines (25 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* *****************************************************
*
* File Description: Problem 7
* panacloud-modern-global-apps/typescript-node-projects
*
* Number Eight: Write addition, subtraction,
* multiplication, and division operations that each
* result in the number 8. Be sure to enclose your
* operations in print statements to see the results.
*
* created by: abkh
* modified on: 2 October 2022
*
*/
var one = 1;
var two = 2;
var three = 3;
var four = 4;
var five = 5;
var eight = 8;
var ten = 10;
console.log(five + three); // addition
console.log(ten - two); // subtraction
console.log(four * two); // multiplication
console.log(eight / one); // division