Asked by fortran
write a program in basic to find the H.C.F of two positive integers A and B
Answers
Answered by
Steve
make up your mind -- BASIC or FORTRAN ?
in any case, find the prime factors of each number, and select all those common to both. Their product is the HCF.
in any case, find the prime factors of each number, and select all those common to both. Their product is the HCF.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.