Use if construct to solve the given ternary operator
c=(val+500>2000)?0:1:
Answers
Answered by
1
Answer:
if(val + 500 > 2000)
c=0;
else
c=1;
Explanation:
Hope this will help you...Please mark this answer as the brainliest and follow me.
Similar questions