Lesson 11 - Activity 2 - Can you create a method to tell if one number is exactly divisible by another number?

Time: 15 minutes

Purpose: This activity helps you get familiar with using operators, methods, ifs - a real revision piece!

Introduction: Youโ€™re had experience creating methods, create one which uses an if to create a return value

Task: Create a method that takes two integers, and returns true if the first number is exactly divisible by the second number (has a modulus of zero).