Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
- int main() {
- int n;
- scanf("%d", &n);
- char ime[n][50];
- char prezime[n][50];
- int godini[n];
- for(int i = 0; i < n; i++) {
- scanf("%s", ime[i]);
- scanf("%s", prezime[i]);
- scanf("%d", &godini[i]);
- }
- for(int i = 0; i < n; i++) {
- printf("%s %s %d\n", ime[i], prezime[i], godini[i]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement