Math, asked by gadesandeep132, 1 month ago

Question 24:
c = (n) ? a: b; can be
rewritten using if-else
statement as
A. if(n){c = a;}else{c = b;}
B. if(!n){c = a;}else{c = b;}
C. if(n){c = b;}else{c = a;)
D. None of the above​

Answers

Answered by valarmathi2580
3

Answer:

(c).if(!n){c=a;}else{c=b;}

Answered by ishikasaini434
1

Answer:

C. if(n){c = b;}else{c=a;}

Similar questions