Previous Program »» C Program to check Leap Year
The coding of this program is quite simple. It goes like this:-
For further Knowledge and Tutorial Keep Visiting :-
TechJatt - The source for all kind of Tutorial on Ethical Hacking
Like Us on Facebook or Follow on Twitter or Add to Circles on Google + to remain updated
The coding of this program is quite simple. It goes like this:-
#include <stdio.h>Next Program »» C Program to Convert Foots to Centimeters
#include <conio.h>
void main()
{
clrscr();
int=a,b;
printf("Enter the Dividend: ");
scanf("%d",&a);
printf("Enter the Divisor: ");
scanf("%d",&b);
if (a%b==0);
{
printf("%d is divisible by %d",b,a);
}
else
{
printf ("%d is not divisible by %d",b,a);
}
getch();
}
For further Knowledge and Tutorial Keep Visiting :-
TechJatt - The source for all kind of Tutorial on Ethical Hacking
Like Us on Facebook or Follow on Twitter or Add to Circles on Google + to remain updated