find out the largest between 2 number


/* write a program to find out the largest between 2 number */

#include<stdio.h>

#include<conio.h>

void main()

{                  int a,b;

                    clrscr();

                    printf(" \n Enter two number = ");

                    scanf("%d%d",&a,&b);

                    if(a>b)

                                  printf("%d is largest ",a);

                   else

                                 printf("%d is largest ",b);

                   getch();

}

/*output:---

             Enter two number =10

                                             20

            20 is largest

*/


                                                                 ðŸ‘†ðŸ‘ŒðŸ˜ŠðŸ˜‰

2 comments:

This Blog helps you to learn basics to high level programming coding and practicals.
conceptual understanding

c program, Advance coding, c++ program, simple program, Advance language

online quiz Application project page MCA final year project

  Here we making a quiz application ppt presentation for college project so that our project idea will like to our professor and teacher  fi...