For the first one, try exiting the program early. For the second one, try to obtain the output "The number is negative \n".