Advertisement
wojtas626

[C] JiMP 10.1

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