Question: Create a conditional expression that evaluates to string negative if userVal is less than 0, and non-negative otherwise. Ex: If userval is -9, output is:

Create a conditional expression that evaluates to string "negative" if userVal is less than 0, and "non-negative" otherwise. Ex: If userval is -9, output is: -9 is negative. 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
