double division(a, b) {
if(a == 0.0 && b == 0.0)
return 0.0;
else
return a / b;
}