Flowchart and C Program that prints the greater among tho numbers.

 Flowchart :-

Program :-

#include<conio.h>
#include<stdio.h>
void main()
{

int a,b;                                                
Output 👆
clrscr();
printf("Enter first number :");
scanf("%d",&a);
printf("Enter second number :");
scanf("%d",&b);


if(a>b)
printf("The Greater among two numbers is :%d",a);
else
printf("The Greater among two numbers is :%d",b);

getch();
}

Comments