What will be the value of a and b, when n assumes the following values in the given code
snippet?
i) 0
ii) 2
int a=5,b=5;
if(n>0)
{
a=a+1;
b=b+1
}
else
{
a=a-1;
b=b-1;
Attachments:
Answers
Answered by
5
Answer:
can we be friends if can then thanks my 20 ♥️ answer
Similar questions
Hindi,
3 months ago
English,
3 months ago
Math,
6 months ago
Accountancy,
6 months ago
English,
11 months ago