Quote:

**2- Write a function multiple that determines for a pair of integers whether the second integer is a multiple of the first. The function should take two integer arguments and return 1 (true) if the second is multiple of the first, and 0 (false) otherwisw. Use this function in a program that inputs series of pairs of integers.**

Modulus ( % ) returns the remainder of a division, helping you to know if a is a divider of b.
Quote:

**3- Write a program that will help an elementary school student learn multiplication. Use rand to produce two positive one-digit integers. It should then type a question such as :**

How much is 6 times 7?

The student then types the answer. Your program checks the student's answer. If it is correct, print "Very good!" and then ask another multiplication question. If the answer is wrong, print "No. Please try again." and then let the student try the same question again repeatedly until the student finally gets it right.

Generate two random numbers, print them out formated as you showed, check if the user input equals the product of the numbers, then print answers according to that.