#include<conio.h>
#include<stdio.h>
void
main()
{
int a,b,c;
clrscr();
amit:
printf("\n\nEnter a no. A:");
scanf("%d",&a);
printf("\n\nEnter Ending
Point:");
scanf("%d",&b);
if (a>b && a>c)
{
printf("\n A is Greatest
");
goto amit;
main();
}
else if (c>b && c>a)
{
printf("\n C is
Greatest ");
goto amit;
}
else
{
printf("\n Bis
Greatest");
goto amit;
}
getch();
}
No comments:
Post a Comment