I have no problems with your code, try this:
PS: Use code /code tags between []Code:#include <iostream> #include <conio.h> using namespace std; int mult(int x, int y); int main() { int x, y; cout<<"Please input two numbers to be multiplied: "; cin>>x>>y; cout<<"The product of your two numbers is "<<mult(x, y); getch(); return 0; } int mult(int x, int y) { return x*y; }