forked from b-tekinli/c-projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kutuphane_ornegi.c
44 lines (29 loc) · 880 Bytes
/
kutuphane_ornegi.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include <stdio.h>
#include <stdlib.h>
int main() {
char kitapAdi[30];
printf("Kitabin adini giriniz: ");
scanf("%s",kitapAdi);
char yazarAdi[35];
printf("Yazarin adini giriniz: ");
scanf("%s",yazarAdi);
char sayfaSayisi[4];
printf("Sayfa sayisini giriniz: ");
scanf("%s",sayfaSayisi);
char basimTarihi[8];
printf("Basim tarihini giriniz: ");
scanf("%s",basimTarihi);
char basimEvi[50];
printf("Basim evini giriniz: ");
scanf("%s",basimEvi);
char tur[15];
printf("Turunu giriniz: ");
scanf("%s\n",tur);
printf("Girmis oldugunuz kitap: %s\n",kitapAdi);
printf("Girmis oldugunuz yazar: %s\n",yazarAdi);
printf("Girmis oldugunuz sayfa sayisi: %s\n",sayfaSayisi);
printf("Girmis oldugunuz basim tarihi: %s\n",basimTarihi);
printf("Girmis oldugunuz basim evi: %s\n",basimEvi);
printf("Girmis oldugunuz tur: %s\n",tur);
return 0;
}