A student from a primary school in Zhongshan City has 3 different cartoon books and 4 different story books. In a book donation activity for a school in a poor mountainous area, the student was going to donate one cartoon book and one story book respectively. How many different ways does he have to donate?
中山市一小学某同学有3本不同的卡通类图书和4本不同的故事类图书．在一次为贫困山区的学校捐书活动中，该同学准备捐卡通类和故事类图书各一本，他有多少种不同的捐法．
<gadget id="calculator">4 * 3</gadget>
<output>12</output>

<result>12</result>