Answer:
I don't know what language you want this in, but I will do it in c++. Let me know if you want it in another language.
if (userNum1 < 0) {
cout << "userNum1 is negative" << endl;
}
else if (userNum2 > 10 {
userNum2 = 0;
} else {
cout << "userNum2 is less than or equal to 10";
}