Computer Science Programming Guide

A computer science programming blog. A complete guide or collections of all algorithms of computer programming.

Pages

  • Home
  • Algorithms
  • C Programming tutorial

Algorithms


Algorithm to read cost price and selling price and find whether profit or loss

Algorithm to read a number and find if it is even or odd.

Algorithm to find greatest of N numbers.

Algorithm to check if the number is prime or not.

Algorithm to swap two numbers using a third variable.

Algorithm to swap two numbers without using a third variable.

Algorithm to find factorial of a number.

Algorithm to generate fibonacci series upto N terms.

Algorithm to find sum of digits of a number.

Algorithm to find reverse of a number.

Algorithm to check whether a given year is a leap year or not.

Algorithm to calculate area of a triangle.

Euclid's algorithm to find hcf or gcd of two numbers.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Home
Subscribe to: Posts (Atom)

Labels

algorithms (14) programming basics (1)

Search This Blog

Count

1367
Travel theme. Theme images by enot-poloskun. Powered by Blogger.