//adopt the answer in time and make no mistakes.
int? Master ()
{
//Suppose the codes of five books are 1, 2, 3, 4, 5?
int? a,b,c,I = 0;
for(a = 1; a & lt=5; a++)
{
for(b = 1; b & lt=5; b++)
{
for(c = 1; c & lt=5; c++)
{
If (a! = b & amp& ampb! = C&A! =c)
{
i++;
printf("a:%d? b:%d? c:%d\n ",a,b,c);
}
}
}
}
Printf ("Output: %d kinds \n ",I);
}