back
Programming Contest!
You have 40 minutes to solve this problem! You may work in groups of up to three members. Write your basic sequence of code on paper to first.

Problem

Write a program that will reduce fractions. Ask the user to give you a numerator and then a denominator. Have the program output the reduced fraction and the greatest common denominator.

Hint: you will need to use the modulus and a nested loop. Good luck!