Ad
  • Custom User Avatar

    It checks, if both values are above 0, if so, it calculates results, if any of the numbers are below 0, result is 0.
    In logical sense of this task, if 0 classmates ask him to do any amount of work ( none of them asks), there is no work to be done, if 1+ calssmates ask him to do 0 or less work, there is still no work to be done.