0
Why Is It Printing Zero at getArea() .. Please help me đ€Šđ»ââïžđ€Šđ»ââïž
3 Respostas
+ 2
Move the Rectangle(x,y) up to replace the Box()
Box(double x,double y,double z):Rectangle(x,y)
{
height=z;
}
0
Im not sure but int to double directly may be the problem, so u need typecasting before assigning it.