April 05
Prof. Ismael H. F. Santos -
ismael@tecgraf.puc-rio.br
2
Fundamentos da Linguagem
n
s
witch-case-default
n
n
switch( i=f() ) {
n
case -1:
n
...
n
break;
n
case 0:
n
...
n
break;
n
default:
n
...
n
}