Subtract operation but in c++ code

UP! please help me with the funtion :frowning: Im sure it is over the internet already solved but coudnt find it.