The answer to this is function overloading. There are some people who may become confused if they need to be specific about overloading. There are two types of overloading. One is function overloading while the second one is called operator overloading.
It is important that you know what to choose so that you can proceed with what you plan to do. Function overloading can make it easy for different functions will be made even if the implementations are different from each other. Remember that the differences in parameters will set aside one team from the others.