Computer Science, asked by yeduguruvishnuvardha, 17 days ago

3 void main() {
4 static int sd;
5
int i;
6 for (j = ; j <= 10; j += 3)
7
switch (j) {
8
case 1:
9
sd++;
10
break;
11
case 6:
12
sd += 2;
13
case 4:
14
sd %= 2;
15
j = -1;
16
continue;
17
default:
18
|--sd;
19
continue;
20
}
21 printf("%d", sd + 5);
22 }​

Answers

Answered by rose8120
1

Answer:

this is a Java program which has a consecutive numbers to print forward and backward

Similar questions