Popular Posts

11.Write a program to find the multiple and divided value of two float numbers.

11.Write a program to find the multiple and divided value of two float numbers.

#include
#include
inline float mul(float x,float y)
{
return(x*y);
}
inline double div(double m,double n)
{
return(m/n);
}
int main()
{
clrscr();
float a=12.345;
float b=9.82;
cout< cout< getch();
return 0;
}

Output:
121.227898
1.257128

No comments: