created new Article

Cara bermain dengan Switch-case bahasa C, jangan lupa di coba ya... :D

#include int main(void) { int i; printf("masukkan angka keberuntungan anda\n"); scanf("%d", &i); switch (i) { case 1 : printf("\n=====kamu bodoh deh=====\n\n"); break; case 2 : printf("\n=====kamu aneh=====\n\n"); break; case 3 : printf("\n=====kamu jijay amat=====\n\n"); break; case 4 : printf("\n=====kamu tukang gombal=====\n\n"); break; case 5 : printf("\n=====kamu pinter juga yah=====\n\n"); break; case 6 : printf("\n=====kamu homo!!!=====\n\n"); break; case 7 : printf("\n=====kamu lumayan baik=====\n\n"); break; case 8 : printf("\n=====kamu bauk acemmz=====\n\n"); break; case 9 : printf("\n=====fuck off!!=====\n\n"); break; case 10 : printf("\n=====kamu bandot ih=====\n\n"); break; default : printf("\nmaaf angka yg anda masukkan salah\n"); } return 0; }

2,595
0
joined Jagocoding.com
0