A computer science professor has seven different programming books on a bookshelf. Three of the books deal

Question:

A computer science professor has seven different programming books on a bookshelf. Three of the books deal with C++, the other four with Java. In how many ways can the professor arrange these books on the shelf
(a) If there are no restrictions?
(b) If the languages should alternate?
(c) If all the C++ books must be next to each other?
(d) if all the C++ books must be next to each other and all the Java books must be next to each other?
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: