How to C

C program and algorithm to find GCD and LCM

›
Algorithm 1. Start 2. read two numbers a,b 3. set n=b,d=a 4. r=a%b 5. while r!=0     5.1 set n=d,d=r     5.2 r=n%d 6. set ...
4 comments:

Menu driven C program and algorithm to perform palindrome, armstrong, factorial, fibonacci.

›
Algorithm 1. start 2. do 3. display 1. fibonacci series 2. palindrome 3. armstrong 4. factorial  4. read choice 5. if choice=1     5...
‹
›
Home
View web version
Powered by Blogger.