As hungry is initialized to false hence the unless condition is executed.Output:Not hungry
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: