Xiao Ming bought 3 different mathematics books and 4 different composition books. He chooses one of them and gives it to a good friend. How many different ways does he choose?
小明买了3本不同的数学书，4本不同的作文书，他从中各选一本送给好朋友，他有多少种不同的选法．
<gadget id="calculator">3 * 4</gadget>
<output>12</output>

<result>12</result>