Find remainder

Easy
30
5
9.5% 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 :)