Compilation Error

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;

}

it is working fine no such error
try again
you can also check here

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.