- Home
- Output Questions for Class 10 ICSE Computer Applications
The following is a segment of a program. x = 1; y = 1;
Output Questions for Class 10 ICSE Computer Applications
The following is a segment of a program.
x = 1; y = 1;
if(n>0)
{
x = x + 1;
y = y + 1;
}
What will be the value of x and y, if n assumes a value:
(i) 1
(ii) 0