- #include <stdio.h>
- void main(void)
- {
- int counter;
- for (counter = 1; counter <= 100; counter++)
- {
- if (counter == 50)
- break;
- printf("%d ", counter);
- }
- printf("nNext loopn");
- for (counter = 100; counter >= 1; counter--)
- {
- if (counter == 50)
- break;
- printf("%d ", counter);
- }
- }
English
