Professional Documents
Culture Documents
Outline
• Jump Statements
– break
– continue
– goto
– return
10 9 8
10 8 6 4 2
n=10;
A:
n=10 printf(“%d “, n);
n = n -1;
A
Print if (n>0)
n
goto A;
n = n -1
Output:
is n>0? True A
10 9 8 7 6 5 4 3 2 1
False
enter a number: 18
18 is even
A. int
B. char
C. long
D. All of the above
A. int
B. char
C. long
D. All of the above