Hello,
Does anyone have code that will find the GCF of 2 integers? I'm trying to write a fraction-based calculator and am having trouble developing an alg. for finding GCF.
Thx,
cpp4ever
Hello,
Does anyone have code that will find the GCF of 2 integers? I'm trying to write a fraction-based calculator and am having trouble developing an alg. for finding GCF.
Thx,
cpp4ever
------------------------------------------
Normally I'd put something clever, but that isn't the point of being here now is it?
try:
searching the board: There have been good solutions posted in the past. They may still be there.
searching the internet: I'm sure you can find several algorhythms that you can convert to C++.
writing your own and asking for help if you get stuck;
become a good programmer and you will answer your own question. Not to make you mad or anything