does anyone know what the error is?????..........
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
void mtable(int ,int);
int num,n,prod;
cout<<"\n\n\tEnter the no";
cin>>num;
mtable(num,n) ;
cout<<"\n\n\tEnter the limit";
cin>>n;
cout<<"\n After one call ";
mtable(5,10);
mtable(7,10);
getch();
}
void mtable(int num,int n)
int prod=1;
for(int i=0;i<=n;i++)
{ prod=num*i;
cout<<"\n"<<num<<" * "<<i<<" = " <<prod;
}
}