how can we give constraint in the program that second number cannot be zero and if it is then what would be the output ?
Constraint definition in program
Hello @Raghavsingla522,
Rather giving constraint, you may use a if condition and check if the second number is zero then print an appropriate statement.
BTW, you won’t get any such test case in this problem.