#include #include #include #include main() { int i,panjang ; char first[25],general[20] ; unsigned long reg=0 ; clrscr() ; printf("Key Generator Start-It 4.xx by flag eRRatum\n") ; printf("Visit our Page at http:\\\\all.at\\ekh\n") ; printf("Enter First Name : ") ; gets(first) ; printf("Enter Last Name : ") ; gets(general) ; panjang=strlen(first)+strlen(general) ; if (strlen(first) < 4) {printf("Username should bigger then 4 !!!") ; return 0 ;} printf("Enter Company : ") ; gets(general) ; panjang+=strlen(general) ; strupr(first) ; for (i=3;i>-1;i--) { reg+=first[i]+0xA ; if (first[i] > 89) { printf("Name cannot contain Z !!!") ; return 0; } if (i>0) reg*=100 ; } reg+=0x2cef5 ; reg*=panjang ; printf("This is your Registration Number : %lu\n",reg) ; textcolor(LIGHTRED) ; cprintf("Please Visit our page for more cracks.") ; return (0) ; }