bWt Lo Y4n9 m4u Cob4-cOb4 j4D! 4l4Y... s!l4K4n coB4 N!h coD!n9.... :D
nih coding gw buat pake bahasa C...
cekidot...
8<---------------------------------- CUT HERE ----------------------------------
#include "stdio.h" #include "string.h" #include "ctype.h" main() { char teks[255]; int i=0; printf("Masukan Teks :\n"); scanf("%[^\n]", teks); printf("\nVersi Alay : \n"); for(i=0; teks[i] != '\0'; i++) { if(teks[i] == 'a') printf("4"); else if(teks[i] == 'g') printf("9"); else if(teks[i] == 'i') printf("!"); else if(i%3 == 1) printf("%c",toupper(teks[i])); else printf("%c",teks[i]); } printf("\n"); }
8<---------------------------------- CUT HERE ----------------------------------
simpan dengan nama alay.c
kemudian compile, kalo di linux sbb:
$ sudo gcc -o alay alay.c
terus run programnya deh...
$ sudo ./alay
4l4y B4n94t D4h n!H pRo9R4m.... :D
9ud 1uck :P
lucu juga bro programnya
ReplyDeletesitu alay ya... heheh qidding bro
Lumayan lah buat belajar
tengkyu