Computer Science, asked by Mrsenior, 1 month ago

What do these loops print?
for(i = 0; i < 10; i = i + 2)
printf("%d\n", i);
for(i = 100; i >= 0; i = i - 7)
printf("%d\n", i);
for(i = 1; i <= 10; i = i + 1)
printf("%d\n", i);
for(i = 2; i < 100; i = i * 2)
printf("%d\n", i);

Answers

Answered by shakiraarain80
1

Answer:

0

2

4

6

8

93

86

79

72

65

58

51

44

37

30

23

16

9

2

1

2

3

4

5

6

7

8

9

10

2

4

8

16

32

64

Similar questions