Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void main(void) {
- int i=0;
- for (i=0; i<20; i++) {
- switch(i) {
- case 0:i+=5;
- case 1:i+=2;
- case 5:i+=5;
- default:i+=4;
- break;
- }
- printf("%d,",i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement