Question: Write a complete C code for the following program. int main() { int x,y; scanf (%d,&x); if (x> 2) else if (x < 10)
2) if (x <">
Write a complete C code for the following program. int main() { int x,y; scanf ("%d",&x); if (x> 2) else if (x < 10) else 1 4 if (x>= 5) else y = x * 4; printf("%d", y); return 0; y = x * 1; y = x + 3; * y = x + 2; What output produced by the code above if the input value is: i) ii) iii) 11 Explain for your answer.
Step by Step Solution
3.46 Rating (156 Votes )
There are 3 Steps involved in it
include int main int xy printfenter a value scanfd x ifx2 ifx 10 ... View full answer
Get step-by-step solutions from verified subject matter experts
