In this question, else belongs to which if?
int i=2;
if(i>0)
if(i>1)
i++;
else
i=0;
Answers
Answered by
0
first iteration "if", as second "if" is completed at i++
abhishekvashispdhjwk:
google evertime you find a problem you'll become genius too
Answered by
0
There should be an else statement and then statement for each if statement
Similar questions
English,
7 months ago
Math,
7 months ago
Social Sciences,
1 year ago
English,
1 year ago
Math,
1 year ago