fqrmix

Untitled

Oct 17th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #define size 10
  3. int main(void){
  4.     int mass[size], i;
  5.     for (i = 1; i < 10; i++){
  6.         mass[i] = 0;
  7.         if (i % 2 == 0){
  8.             mass[i] = i;
  9.             printf("%d", mass[i]);
  10.         }
  11.     }
  12.     getchar();
  13.     return 0;
  14. }
Add Comment
Please, Sign In to add comment