You're not initialising the variables, so there is a possibility that they will be used before they are initialised, causing unexpected behaviour, such as a crash.
The following line would be invalid if
roc or
arpa do not have a valid value.
if (roc < arpa)