Answer:
#include <stdio.h>
int main()
{
int userNum1;
int userNum2;
userNum1 = -1;
userNum2 = 7;
if (userNum1 < 0)
printf("userNum1 is negative. \\");
if(userNum2 > 9)
userNum2 = 0;
else
printf("userNum2 is less than or equal to 9.\\");
return 0;
}
Explanation:
Initialize userNum1 and userNum2.
If userNum1 is less than 0, print 'userNum1 is negative" and end with newline.
if userNum2 is greater than 9, assign 0 to userNum2.
Otherwise, print "userNum2 is less than or equal to 9 and end with newline.