I want to create a table of multiplication of entered number using function() property in c++.i hv created the code for this but it is not working.Below is the trial code made by me.
#include<iostream.h>
#include<conio.h>
void main()
int multiply(a)
{
int i;
for(i=0;i<11;i++)
{
a*=i;
return a;
}
}
int main();
{
int i,x;
clrscr();
cout<<"enter the nuber whose table is to be shown";
cin>>x;
for(i=0;i<11;i++)
{
cout<<multiply(a);
return 0;
}
getch();
}_
1
Expert's answer
2012-11-19T08:10:22-0500
#include <iostream> #include <conio.h> using namespace std;
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment