#include <stdio.h>
#include <conio.h>
void main() {
int th;
printf("Masukan tahun: ");
scanf("%i", &th);
if (th %4==0) {
printf("Tahun %i adalah tahun kabisat");
}else {
printf("Tahun %i bukan tahun kabisat");
}
getch();
}
#include <stdio.h>
#include <conio.h>
void main() {
int th;
printf("Masukan tahun: ");
scanf("%i", &th);
2 comments:
maaf mas kyanya artikel anda untuk tahun kabisat ini bnyak yang salah dech . . .
apa mas sudah ngecek terlebih dahulu sebelum posting ???
sorry ^_^
Sebnrnya artikel tu sdah bnar, tp kmrin wktu sya posting lpa d encode dlu. jd bnyk Code yg slah..??
mksh y atas msukanny...
skrg Script di atas sudah benar, coba cek lgi y..??
klw msh ada yang slah, beri thu lgi y....
Post a Comment