Computer Science, asked by GlamKook, 1 month ago

what is if statement ??

Answers

Answered by harshraj14hr
1
An if statement is a programming conditional statement that, if proved true, performs a function or displays information. Below is a general example of an if statement, not specific to any particular programming language.

if (X < 10) {
print "Hello John";
}
In the example above, if the value of X were equal to any number less than 10, the program displays, "Hello John" when the script is run.

Answered by Ꮳꭷꭱꭼꭲꭲꭺ
2

— An if statement is a programming conditional statement that, if proved true, performs a function or displays information.

 \\\

Similar questions