Creating Functions?

How can i create my own functions in a sketch?
Or is this not possible with arduino?

Of course it is possible
Here is one I made earlier

int addTwoNumbers(int number1, int number2)
{
  return number1 + number2;
}

Whatever made you think that it was not possible ?

UKHeliBob:
Whatever made you think that it was not possible ?

Don´t know facepalm
but thank you