#include<stdio.h>
#include<stdlib.h>
void line()
{
int i,j;
printf("\n");
for(i=1;i<=42;i++)
printf("=");
}
void header()
{
printf("\n");
printf("Built and Designed by Arslan Malik\n\n www.CworldbyAS.blogspot.com");
printf("\n");
}
int main()
{
line();
header();
line();
int a,b;
printf("\nEnter two numbers : ");
scanf("%d%d",&a,&b);
if (a%b==0)
printf("%d is divisible of %d : Remainder = %d\n\n",a,b,a%b);
else printf("%d is not divisible %d",a,b);
return 0;
}
#include<stdlib.h>
void line()
{
int i,j;
printf("\n");
for(i=1;i<=42;i++)
printf("=");
}
void header()
{
printf("\n");
printf("Built and Designed by Arslan Malik\n\n www.CworldbyAS.blogspot.com");
printf("\n");
}
int main()
{
line();
header();
line();
int a,b;
printf("\nEnter two numbers : ");
scanf("%d%d",&a,&b);
if (a%b==0)
printf("%d is divisible of %d : Remainder = %d\n\n",a,b,a%b);
else printf("%d is not divisible %d",a,b);
return 0;
}
No comments:
Post a Comment