Show the output of the following code:
#include using namespace std;const double PI = 3.14159; double getArea(double radius){return radius * radius * PI;}void displayArea(double radius){cout < getarea(radius)=""><>}int main(){double r1 = 1; double r2 = 10;cout < getarea(r1)="">< end1;="">}
}void displayArea(double radius)
{cout < getarea(radius)=""><>
}int main()
{double r1 = 1; double r2 = 10;cout < getarea(r1)="">< end1;="">}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here