#include #include #define MAXLEN 100 unsigned long int choicenum; void E ( unsigned long int m , /* To eat m Idlis */ unsigned long int i , /* from Day i */ unsigned long int n , /* to Day n */ unsigned long int B , /* with max B Idlis per Day, B = 0 means no bound */ unsigned long int A[] ) /* Idlis eaten so far */ { unsigned long int k; /* Terminating condition (after the last day) */ if (i > n) { if (m > 0) return; /* Days over, some Idlis left */ /* Print the Idli counts stored in the array A */ ++choicenum; printf("Choice %lu: ", choicenum); for (k=0; k