We set the domain and range of function f
, in [0, 1, 2, 3, 4, 5]
.
f
, to take an integer, x
, from callers and (4 * x) % 6
to the callers.main()
function, you have two choices to define the domain[0, 1, 2, 3, 4, 5]
.
f
, and
print the returning value. f
and print the x
and the other is f
.