I wrote the code for creating a function for multiplying two integers the syntax is fine but its giving compilation error:
“error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?”
My Code:
#include
using namespace std ;
void Multiply( int a , int b){
cout<<a*b<<endl ;
}
int main() {
int a=20 , b=100. ;
Multiply(a,b) ;
return 0;
}