Computer Science, asked by kavyarajput792000, 10 months ago

What will be the syntax of 'IF' ?????

Answers

Answered by Lekahdek
3

Hey mate!

Here's your answer!

The syntax for 'if' statement:

>>>if<conditional expression>:

statements

Hope it helps :)


kavyarajput792000: What is this.. It's wrong..
kavyarajput792000: it is something like =if(criteria,........)
kavyarajput792000: I don't know whole
Lekahdek: is it python or c++
kavyarajput792000: I don't know about it
Lekahdek: for python, it is the answer
kavyarajput792000: Ohh but thanks
Lekahdek: hmm
Answered by dizzy3949
0

 According to google "Syntax. If the Boolean expression evaluates to true, then the if block will be executed, otherwise, the else block will be executed. C programming language assumes any non-zero and non-null values as true, and if it is either zero or null, then it is assumed as false value."]

(Im not mart enough to answer this :(  )

Similar questions