Home Basic Loop Array string Function Pointer Contact STUDY

AHF    C    PROGRAM    SOLVING

Programming tips

Header file



Comment



Specifer



Test expression



Iterative statement




find two same integer constant



// AHF C PROGRAM SOLVING

//solving here basic type of programming problem

#include<stdio.h> #include<math.h> #define pf printf int main() { int a,res,i; pf("\nEnter any number : "); scanf("%d",&a); if(a<=100 && a%11==0) pf("%d is same constant integer.",a); else pf("\n%d is not same constant integer.",a); }
OUTPUT:


© 2018 - All rights reserved