#include #include main() { unsigned long serialnumber,rc1,rc2,rc3,rc4 ; clrscr() ; printf("Key Generator MMViewer 1.02 by flag eRRatum\n") ; printf("Visit our Page at http:\\\\all.at\\ekh\n") ; printf("Type your Serial Number : ") ; scanf("%lu",&serialnumber) ; printf("Type your Register Code [complete with the - ]: ") ; scanf("%lu-%lu-%lu-%lu",&rc1,&rc2,&rc3,&rc4) ; serialnumber+=rc4 ; serialnumber=~serialnumber+1 ; serialnumber=serialnumber^(rc1*100000000+rc2*10000+rc3) ; printf("This is your key to register : %lu",serialnumber) ; printf("\nThanx for using me !!! :)") ; }