C++ program which adds two integers

#include <iostream.h> main() { // A simple C++ program int x, y, sum; cout << “A program which adds two integers\n”; cout << “Enter 1st integer: “; cin >> x;…

Factorial Using Loop Example Program In C++

Hello friends, Welcome to your Techgsr.co blog. And today in this article we will learn aboutFactorial Using Loop Example Program In C++ .So let’s go to our topic #include<iostream> #include<conio.h> using…

Factorial Using Function Example

Hello friends, Welcome to your Techgsr.co blog. And today in this article we will learn about  Factorial Using Function Example.So let’s go to our topic Program In C++ #include<iostream> #include<conio.h> using…

Program In C++ Factorial Using Recursion Example

  #include<iostream> #include<conio.h> using namespace std; //Function long factorial(int); int main() { // Variable Declaration int counter, n; // Get Input Value cout<<“Enter the Number :”; cin>>n; // Factorial Function…

Fibonacci series Example Program In C++

  #include<iostream> #include<conio.h> using namespace std; int main() { // Variable Declaration int counter, n; long last=1,next=0,sum; // Get Input Value cout<<“Enter the Number :”; cin>>n; //Fibonacci Series Calculation while(next<n/2)…