Computer Science, asked by sagarsahu8215, 10 months ago

Write a program to display the larger number out of the two given unequal number

Answers

Answered by pavithranatarajan855
2

Answer:

#include <stdio.h>

int main()

{

   int n1,n2;

   printf("enter two numbers\n");

   scanf("%d %d",&n1,&n2);

   if(n1!=n2){

   if(n1>n2)

    printf("larger is %d",n1);

   else

    printf("larger is %d",n2);

   }

     return 0;

}

Explanation:

I think this will help you...

Similar questions