Advertisement
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. #include <iostream>
  4. int main(void){
  5.     int mass[10], i;
  6.     for (i = 1; i < 10; i++){
  7.         if (i % 2 == 0)
  8.             mass[i] = i;
  9.         printf("%d", mass[i]);
  10.     }
  11.     system("pause");
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement