Challenge 1: Find the Greatest Common Divisor
Given two numbers, find their greatest common divisor.
We'll cover the following...
Problem Statement
Implement a function that takes two numbers, testVariable1
and testVariable2
and returns their greatest common divisor.
What is the Greatest Common Divisor?
The Greatest Common Divisor of two or more integers is the largest positive integer that divides each of the integers.
For example, take two numbers ...
Access this course and 1400+ top-rated courses and projects.