#include <stdio.h>
#include <stdlib.h>
int main() {
int a;
printf("================================\n");
printf("Anak Ayam\n");
printf("\n================================\n");
printf("Masukan Jumlah Ayam = ");scanf("%d",&a);
for(a ;a>=0;a--)printf("\n Anak ayam turun %d mati 1 tinggalah : %d \n\n",a+1,a);
printf("\n jadinya, mati semua deh\n\n");
printf("T.T kasihan banget dech...!!!\n\n");
system("pause");
return(0);
}
0 komentar:
Posting Komentar