- Home
- Output Questions for Class 10 ICSE Computer Applications
Give the output of the program snippet. int a = 10, b =12;
Output Questions for Class 10 ICSE Computer Applications
Give the output of the program snippet.
int a = 10, b =12;
if(a>=10)
a++;
else
++b;
System.out.println(" a = " + a + " and b = " +b);