You will most certainly fry your arduino if you try to make it handle 24V directly. You will also fry it if you try to make it read a feedback voltage that can go as high as 10V. A voltage divider will work in this case to bring the range down to 0-5V, or aven a tad lower, if you don't trust the maximum voltage to actually top at 10V.