-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdit.js
More file actions
49 lines (38 loc) · 756 Bytes
/
dit.js
File metadata and controls
49 lines (38 loc) · 756 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
var x=3;
var z=10;
let name= "DIT 2";
let dit = ['Vincent','Freeman','Jesse','Evans',]
var numbers = [1,2,3,4,5,6,7,8,9]
let person1 = {
name:'Allen',
height:2.89,
color:'green'
}
let person2 = {
name:'Sakyi',
height: 1.59,
color: 'yellow'
}
var persons = [person1, person2]
for (let i = 0; i < 10; i++) {
document.writeln(i)
}
var x=890
var y = 90;
if(x<y){
document.write('x is less than y')
} else {
document.write('Oh x is not less than y')
}
let marks=70;
if(marks >=80 && marks <=100){
document.write('A')
} else if(marks >=60 &&marks<=80){
document.write('B')
}else if(marks>90 && marks===90) {
document.write('F')
} else {
document.write('hellooooo')
}
while (condition) {
}