Advertisement
jordanov

zadaca 1 #nizi

Dec 7th, 2015
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.  
  7.     int x;
  8.     int n;
  9.     int a[100];
  10.     int i;
  11.  
  12.     scanf("%d", &n);
  13.     for(i=0;i<n;i++)
  14.     {
  15.         scanf("%d", &a[i]);
  16.         a[i] = x;
  17.     }
  18.     for(i=0;i<n;i++)
  19.     {
  20.         printf("%d", a[i]);
  21.     }
  22.  
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement