Computer Science, asked by sachanneha15, 11 months ago

write the syntax of if then statement with examples​

Attachments:

Answers

Answered by nehasahani23
0

Answer:

syntax: if(condition)

Explanation:

#include<stdio.h>

int main()

{

int num1=1;

int num2=2;

if(num1<num2)

{

printf("num1 is smaller than num2");

}

return 0;

}

Similar questions