Allen has 10 different books at home and he would like to arrange them on his book shelves.In how many different ways can do this

a) if he would like to arrange all the books on one shelf in a row so that two of the books:"Robinson Cruso and"C Programming"cannot be nex to each other?

b) if he would like to arrange all the books on one shelf n a row so thatthe book:"Robinson Cruso"cannotbe the first nor the last book in the row?

c) if he would like to arrange the books on two shelves putting 6books on the top shelf and 4 books on the bottom shelf(in rows) so that the book"War and peace"has to be on the top shelf and"SPSS"has to be on the bottom one?

d) if he would like to arrange the books on three shelves putting 3 books on the top shelf,3 books on the middle shelf and 4 books on the bottom shelf (in rows)so that"C programming"and"SPSS"are both on the top shelf and"Harry Potter"cannot be on the bottom shelf?