Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started