Page 142 - CITS - CSA - TP (Volume 1) - Hindi
P. 142
कंप्यूटर सॉफ्टवेयर एप्लीकेशन- CITS
</head>
<body>
<script>
let a = 10;
let b = 5;
// Equal to
console.log(“Equal to:”, a == b); // Output: false
// Not equal to
console.log(“Not equal to:”, a != b); // Output: true
// Greater than
console.log(“Greater than:”, a > b); // Output: true
// Less than
console.log(“Less than:”, a < b); // Output: false
// Greater than or equal to
console.log(“Greater than or equal to:”, a >= b); // Output: true
// Less than or equal to
console.log(“Less than or equal to:”, a <= b); // Output: false
</script>
</body>
</html>
3 ो ाम को .html फ़ाइल के प म सेव कर
4 वेब ाउज़र से html फ़ाइल ओपन कर
5 ाउज़र कं सोल टैब पर जाएँ और आउटपुट की पुि कर ।
III लॉिजकल ऑपरेटर (Logical operators)
1 टे एिडटर ओपन कर
2 िन िल खत कोड िलख
<html >
<head>
<title> Logical operators </title>
126
CITS : IT & ITES - कं ूटर सॉ वेयर ए ीके शन - अ ास 38

