-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAssignment-23.ts
43 lines (32 loc) · 1.24 KB
/
Assignment-23.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
//true statements
let car:string = "Landcrousar";
console.log("Is car == landcrousar ? I predict true.");
console.log(car == "Landcrousar");
let names:string = "Qaimudin";
console.log("Is name == Qaimudin ? I predict true.");
console.log(names == "Qaimudin");
let game:string = "Ludo";
console.log("Is game == Ludo ? I predict true.");
console.log(game == "ludo");
let mobile:string = "iPhone";
console.log("Is mobile == iPhone ? I predict true.")
console.log(mobile == "iPhone");
let Vegetable:string = "Potato";
console.log("Is Vegetable == Potato ? I predict true.")
console.log(Vegetable == "Potato");
//false statements
let city:string = "Karachi";
console.log("Is city == Gambat? I predict false.");
console.log(city =="Gambat");
let country:string = "SaudiArabia";
console.log("Is country == Bangladesh? I predict false.");
console.log(country =="Bangladesh");
let Fruit:string = "PineApple";
console.log("Is Fruit == Apple? I predict false.");
console.log(Fruit =="Apple");
let message:string = "No";
console.log("Is message == yes? I predict false.");
console.log(message =="Yes");
let cold_drink:string = "Sting";
console.log("Is cold_drink == Pepsi? I predict false.");
console.log(cold_drink =="Pepsi");