Advertisement
Josif_tepe

Untitled

Mar 20th, 2022
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <ctype.h>
  4.  
  5. struct student {
  6.     char ime[50];
  7.     char prezime[50];
  8.     int godini;
  9. };
  10.  
  11. int main() {
  12.     struct student s;
  13.     scanf("%s", s.ime);
  14.     scanf("%s", s.prezime);
  15.     scanf("%d", &s.godini);
  16.    
  17.     printf("%s %s %d\b", s.ime, s.prezime, s.godini);
  18.    
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement