Computer Science, asked by gaming263, 1 day ago

rewrite the following into if else block
int a = b == 10 ? b+2: b*2 ;​

Answers

Answered by Propar1111
0

Explanation:

if a == b:

   b = b+2

elif b == 10:

  b = b*2

Hope this is what you wanted if not i can change and explain

Mark me as brainiest if it helped you

Similar questions