Write a program that reads in two integers and determines and prints whether the first is a multiple of the second. (Hint: Use the modulus operator.)

What will be an ideal response?

```
# Determines if the first input is a multiple of the second input.

number1 = raw_input( "Enter possible multiple: " )
number1 = int( number1 )

number2 = raw_input( "Enter integer: " )
number2 = int( number2 )

if number1 % number2 == 0:
print "%d is a multiple of %d" % ( number1, number2 )

if number1 % number2 != 0:
print "%d is not a multiple of %d" % ( number1, number2 )
```

Computer Science & Information Technology

You might also like to view...

________ is a font with character graphics

Fill in the blank(s) with correct word

Computer Science & Information Technology

The default theme for a form as well as additional themes may be found in the ____________________ when viewing a form in Layout view.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology