-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconditional.js
More file actions
41 lines (34 loc) Β· 753 Bytes
/
conditional.js
File metadata and controls
41 lines (34 loc) Β· 753 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
// Hazrat Ali
// University Of Scholars
var isFoodReady = false;
// jodi food ready hoi taile ami khamu
// if food is ready i will eat
// if food is read == true
// if (condition) {
//
// }
if (isFoodReady == true) {
console.log('Mama!! I will eat now.')
}
// Conditional
var iphonePrice = 70000;
var myBudget = 109500;
// if (iphonePrice < myBudget) {
// console.log('Iphone diya pic tule futani marbo!!')
// }
// if (iphonePrice > myBudget) {
// console.log('My Shaomi is the best!!');
// }
// if (condition){
// //
// }
// else{
// }
var chickenPice = 180;
var myMoney = 850;
if (chickenPice < myMoney) {
console.log('Yes! murgir Ran khamu ar haddi chabamu');
}
else {
console.log('Smashed potato with Lentil soup')
}