INLINE FUNCTION
SOURCE CODE
#include “iostream.h”
#include “conio.h”
inline int big(int a,int b,int c)
{
if((a>b)&&(a>c))
return (a);
if((b>a)&&(b>c))
return (c);
if((c>a)&&(c>b))
return (c);
else
return (0);
}
void main()
{
int x,y,z,r;
char ch;
clrscr();
lable:
cout << "Enter The Value For x,y,z \n"; cin >> x >> y >> z;
r=big(x,y,z);
if(r!=0)
cout << "Biggest Number Is " <<>> ch;
if((ch=='Y')(ch=='y'))
goto lable;
getch();
}
OUTPUT
Enter The Value For x,y,z
12
54
34
Biggest Number Is 34
Do You Want To Continue? n