Computer Science, asked by saranyabindu22, 18 days ago

int main (void) {
int a = 3;
int b = 6;
while (a <= b) {
if (a % 2 == 1) {
printf("a is %d\n", a);
}
else {
printf("b is %d\n", b);
for (int i = 0; i < b - a ; i++) {
printf("a * i + b = %d\n", a * i + b);
}
}
a++;
b--;
}
return 0;
}

Answers

Answered by guptarahulalwaysonl9
1

5 is the output of printf("a * i + b = %d\n", a * i + b);

Similar questions