Question: I've been stuck on this FOREVER, please help! Must be in C, no cout please!! Print userNum1 is negative. if userNum1 is less than 0.

I've been stuck on this FOREVER, please help! Must be in C, no cout please!!

Print "userNum1 is negative." if userNum1 is less than 0. End with newline. Convert userNum2 to 0 if userNum2 is greater than 10. Otherwise, print "userNum2 is less than or equal to 10.". End with newline.

#include

int main(void) { int userNum1; int userNum2;

userNum1 = 1; userNum2 = 14;

/* Your solution goes here */

printf("userNum2 is %d. ", userNum2);

return 0; }

Thank you SO MUCH!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!