Oct 5, 2013

Program: Display Fibonacci Series IN C++

Program : DISPLAY FIBONACCI SERIES IN C++ Check out Program #include<iostream.h> #include<conio.h> // Display Fibonacci Series  // In Fibonacci Series first two numbers in the Fibonacci series are 0 and 1, and each subsequent number is the sum of the previous two. int main() { int...

Oct 4, 2013

Program: Find Factorial of a Given Number

Program : FIND FACTORIAL OF A GIVEN NUMBER Program to find factorial of a number using For Loop Check out Program #include<iostream.h> #include<conio.h> // Find factorial of a Given Number int main() { long double factorial = 1; /* factorial has long double type which take 8 bytes in...