Simple if statement program.


 #include<stdio.h>

#include<conio.h>

int main(  )

{

clrscr( );

int x=18;

int y=20;

if(x<y)

{

printf("my age is less than 18");

}

getch();

return 0;

}

To run:



No comments:

Post a Comment

theengineerschoice01@gmail.com