c = a / b;
print ” Cannot divide by zero”
c = a / minOne(b);
//it returns a itself if b is zero because minOne() returns non zero values that we passes. If it is zero then it retuns 1
Above methods is to prevent the stoppage of flow of execution.