#include <iostream.h>
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
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);
system("pause");
return 0;
}
int mult(int x, int y)
{
return x*y;
}
thats my code
it works fine but it sayd The product Of your 2 numers are <num>Press any button to continue straight after without aany spaces or a new line
whats wrong with it ?