Problem # 17 : The lowest terms

Write a function FRACMULT$(A$ B$) which takes two fractions (in the form of strings A$ and B$) multiplies them reduces the resultant to the lowest terms and returns it in the form of a string.

Sample Output
FRACMULT$("3/5" 4/5 ) should return "12/25"
FRACMULT$("3/5" 5/6 ) should return "1/2"


Previous Problem
Return to problems at The Vault
(Back to problems at The Vault )
Next Problem

LinkExchange
LinkExchange Member
1