-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfile.ts
44 lines (27 loc) · 1.03 KB
/
file.ts
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
// let myName: string = "syedaMuntahashah";
// console.log(myName);
// console.log(typeof myName);
// let myAge: number = 22;
// let messageAboutSyeda: string = ("she " + "is a " + "student " + " govornerIT" + "program");
// messageAboutSyeda = ("she " + 'is a ' + 'student' + 'of ' + 'governersindhIT' + 'program');
// console.log(myName + messageAboutSyeda);
// console.log(myName + myAge + messageAboutSyeda);
// let isSheMarried: boolean = false;
// let box1: string = 'mangos';
// let box2: string = 'books';
// let bothBoxes: string = (box1 + box2);
// console.log(box1 + box2);
// console.log(bothBoxes);
// let num1: number = 20;
// let num2: number = 3;
// let bothNumbers: number = (num1 / num2);
// console.log(bothNumbers);
// let num3: number = 4;
// let num4: number = 10;
// console.log(num3 + num4);
// let apple: number = 15;
// let eattenApple: number = 2;
// console.log(apple - eattenApple);
// let num5: number = 2;
// let num6: number = 3;
// console.log(num5 * num6);