You are here:

C/LCM and GCD program

Advertisement


Question
I need C program for finding LCM and GCD.

Thanks

Answer
For writing any program, you need to know two things.
First is the algorithms (steps to solve the problem)
Second is a programming language.

So, which is the programming language you know?
Do you know (mathematicallY) the steps to solve LCM and GCD?
Give those steps and we will convert them to a program.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.