/*WAP to Demonstration of if statement */
#include<stdio.h> #include<conio.h> main( ) { int num ; printf ( "Enter a number less than 10 " ) ; scanf ( "%d", &num ) ; if ( num <= 10 ) printf ( "Entered number is less than 10=%d",num) ; getch(); }
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
#include<stdio.h> #include<conio.h> main( ) { int num ; printf ( "Enter a number less than 10 " ) ; scanf ( "%d", &num ) ; if ( num <= 10 ) printf ( "Entered number is less than 10=%d",num) ; getch(); }
No comments:
Post a Comment