Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
- int main()
- {
- char onoma,pinakas_onomaton[1000][32];
- int sinolo,i,x,j;
- char eponimo,pinakas_eponimon[1000][32];
- int am,pinakas_am[1000];
- float bathmos,pinakas_bathmon[1000];
- int arithmos_foititon;
- scanf("%d",&am);
- scanf("%f",&bathmos);
- pinakas_am[i]=am;
- pinakas_bathmon[i]=bathmos;
- sinolo = sinolo + bathmos;
- x=0;
- while ((onoma =getchar())!='\n')
- {
- pinakas_onomaton[0][x]=onoma;
- x++;
- }
- j=0;
- while ((eponimo =getchar())!='\n')
- {
- pinakas_eponimon[0][j]=eponimo;
- j++;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement