



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Lab; Class: Programming I; Subject: Computer Science; University: Harding University; Term: Unknown 1989;
Typology: Lab Reports
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Add, subtract, multiply & divide โ positive fractions only Enter โ0/0 + 0/0โ to quit.
1/2 + 3/ 2/4 + 3/4 = 5/
main
ReduceFraction CommonDenominator
GreatestCommonDivisor LeastCommonMultiple
GreatestCommonDivisor
x
y
Greatest Common Divisor of x and y
LeastCommonMultiple
x
y
Least Common Multiple of x and y
ReduceFraction ReduceFraction
Numerator
Denominator
Reduced Numerator
Reduced Denominator
CommonDenominator
Numerator 1
New Numerator 1
Denominator 1
New Denominator 1
Numerator 2
New Numerator 2
Denominator 2
New Denominator 2
CommonDenominator
1/2 and 2/3 in
3/6 and 4/6 out
1 3 2 6 2 4 3 6
Is X > Y
Is Ans=0?
Are R1 and R2 both 0?
Start GCD of X & Y