Find remainder

Easy
23
4
8.0% Acceptance

Task

  1. Create a function find(int a). Where a>0.
  2. Return the remainder when a is divided by 3.

Note - Function will be public.

You can do this :)