-
Notifications
You must be signed in to change notification settings - Fork 26
/
absensicmd.c
156 lines (112 loc) · 3.15 KB
/
absensicmd.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
#include<stdio.h>
main(){
int i[32], j;
for(j=0; j<32; j++){
i[j] = j+1;
}
/*
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PERHATIAN ABSEN DITAMBAH 1;
contoh jika absen 18 maka masukinnya array i[17];
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
*/
printf("ABSENSI KELAS XI RPL 2\n\n\n\n");
//ABSEN 1
printf("%d",i[0]);
printf("Aditya Aria S\n\n");
//ABSEN 2
printf("%d", i[1]);
printf("Agung Satrio Budi Prakoso\n\n");
//ABSEN 3
printf("%d",i[2]);
printf("Alief Here!!!\n\n");
//ABSEN 4
printf("%d"),i[3]);
printf("Alwan Alfian Setiawan was here");
//ABSEN 5
printf("%d", i[4]);
printf(" Arnaz Mursid P\n\n");
//ABSEN 6
printf("%d", i[5]);
printf(" Bagas Teguh P\n\n");
//ABSEN 7
printf("%d",i[6]);
printf("Chiqo Rifky Saputra\n\n");
//ABSEN 8
printf("%d",i[7]);
printf("Dede Rusliandi\n\n");
//ABSEN 9
printf("%d",i[8]);
printf("Fajar Nazmi Fadillah\n\n");
//ABSEN 10
printf("%d",i[9]);
printf("Fatimah Az-Zahra\n\n");
//ABSEN 11
printf("%d",i[10]);
printf("Fikri Adriansa Yudha\n\n");
//ABSEN 12
printf("%d",i[11]);
printf("Fitri \n\n");
//ABSEN 13
printf("%d", i[12]);
printf("Hadian Rahmat \n\n")
//ABSEN 14
printf("%d", i[13]);
printf("Iqbal Dzulfikar R\n\n");
//ABSEN 15
printf("%d",i[14]);
printf("Ivan Naufal Islami Al-faridzqi\n\n");
//ABSEN 16
printf("%d",i[15]);
printf("Michael Faizal Arrshyi\n\n");
//ABSEN 17
printf("%d",i[16]);
printf("Muhammad Angga was Here!!!\n\n");
//ABSEN 18
printf("%d",i[17]);
printf("Muchamad Aqiel HM\n\n");
//ABSEN 19
printf("%d",i[18]);
printf("Muhammad Zaky \n\n");
//ABSEN 20
printf("%d",i[19]);
printf("M Defana \n\n");
//ABSEN 21
fungsiRamadhan();
//ABSEN 22
printf("%d", i[21]);
printf("Muhammad Syahna \n\n");
//ABSEN 23
printf("%d", i[22]);
printf("Najir Ali \n\n");
//ABSEN 24
printf("%d",i[23]);
printf("Radhika Yusuf Alifiansyah\n\n");
//ABSEN 25
printf("%d",i[24]);
printf("Reihan fadilah\n\n");
//ABSEN 26
printf("%d", i[25]);
printf("Rizal Abiyyu A\n\n");
//ABSEN 27
printf("%d", i[26]);
printf("Rizky Alfa Uji G\n\n");
//ABSEN 28
printf("%d",i[27]);
printf("Ryandita Aria Permana\n\n");
//ABSEN 29
printf("%d",i[28]);
printf("Setiawan Gunadi\n\n");
//ABSEN 30
printf("%d",i[29]);
printf("Syamsul Maarief\n\n");
//ABSEN 31
printf("%d", i[30]);
printf("Tendi F");
//ABSEN 32
printf("%d", i[31]);
printf("Vincentius Westley\n\n");
}
void fungsiRamadhan(){
printf("Muhammad Ramadhan Rahmat Buat Fungsi Ruang Hampa");
}