Find remainder

Easy
26
5
8.8% 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 :)