#include<conio.h>
#include<conio.h>
void main()
{
float large(float,float);/*Function declaration*/
float x,y,l;
clrscr();
printf("enter two numbers\n");
scanf("%f%f",&x,&y);
printf("x=%f and y=%f\n",x,y);
l=large(x,y); /*Function reference*/
printf("\n latgest of two numbers=%f\n",l);
getch();
}
/*Function to determine the largest*/
float large(float x,float y)
{
if(x>y)
return(x);
else
return(y);
/*End of Function*/
}
Missing Links by JayHind
No comments:
Post a Comment