© 2023 Hashnode
#if-else
What is Kernel? The kernel is one of the most important parts of the Operating system and it is the main interface between Hardware and its processing. The name of the Linux Operating system's Kernel …
In JavaScript, the if/else statement is a conditional statement that allows us to execute different code blocks based on whether a certain condition is true or false. Here's the basic syntax of an if/…
In C program If, if else, switch statements are known as conditional statements. Conditional statements: are also known as Boolean expressions programs that return true or false on events and carry ou…
Everything you'd ever need to know about if and else statements. If you ever had to use a robot, say an ATM, you probably know that they need to be told what to do in a certain way, otherwise they won…
So in the last couple of articles in this series, we got a basic introduction to Records, which is a new built-in collection type coming in Dart 3.0, and how they make developers' life easy with their…
Alright, I came up with a new topic, the Switch case vs if-else statement which is a more optimized way to write the code. In my opinion, we can't compare that two features every time because both hav…
A few days ago, I kicked off my Python journey with the 100 days of code challenge where I'd commit to building a project or learning python for at least one hour every day for 100 days. On day 3, I came across the "If/else" functions and I…
We use conditionals a lot in our day-to-day life. For example: when our mother asks us to get some groceries, she often says "bring cauliflower from the market and if all is finished bring cabbage". The same thing is in programming language…
Lets get started: What is a ternary operator? A ternary operator in computer programming, is a conditional operator. The conditional statements are the decision-making statements which depends upon th…
Introduction Sometimes in programming, we need to run the block of the code if some condition is true and this is achieved by the decision-making statement or conditional statement. What is a decision…