/* ***********************************************
Write a program to find the given number is smaller or larger
date:06-06-2019
created by:ANIL DURGAM
*****************************************************/
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c;
printf("Enter the number\n");
scanf("%d%d",&a,&b);
small_large_fn(a,b);
return 0;
}
int small_large_fn(int a,int b)
{
if(a>b)
{
printf("a is bigger number\n");
}
else if(a<b)
{
printf("b is bigger number\n");
}
else
{
printf("both numbers are equal\n");
}
}
out put:::
Note:
please send the questions which you are facing problem in C Language.
also write interview questions which are you faced in during interview related to C Language.
so i can try to solve them and send you back.
Write a program to find the given number is smaller or larger
date:06-06-2019
created by:ANIL DURGAM
*****************************************************/
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c;
printf("Enter the number\n");
scanf("%d%d",&a,&b);
small_large_fn(a,b);
return 0;
}
int small_large_fn(int a,int b)
{
if(a>b)
{
printf("a is bigger number\n");
}
else if(a<b)
{
printf("b is bigger number\n");
}
else
{
printf("both numbers are equal\n");
}
}
out put:::
Note:
please send the questions which you are facing problem in C Language.
also write interview questions which are you faced in during interview related to C Language.
so i can try to solve them and send you back.
No comments:
Post a Comment