I have the following question that I am stuck at
Define a function that when passed an integer, returns the highest digit in the integer. Call the function in setup() by passing an integer of your choice and store the value returned in a variable result.
I don’t have any idea where and how to start. Could someone give me a hint please?