If statement example in c very easy .
Example of if statement
#include <stdio.h> int main() { int x = 20; int y = 22; if (x<y) { printf("Variable x is less than y"); } return 0; }
Output:
#include <stdio.h> int main() { int x = 20; int y = 22; if (x<y) { printf("Variable x is less than y"); } return 0; }
Variable x is less than y
Thanku
ReplyDelete