#include<iostream>
int main()
{
cout << "a= ";
double a;
cin >> a;
cout "b= ";
double b;
cin >> b;
double p;
p=2*(a+b);
double s;
s=a*b;
cout << "p= " << p << "\n";
cout << "s= " << s << "\n";
return 0;
}
I get the following error: line 5 'cout' was not declared in this scope, how to fix it?