Thursday, 28 August 2014
C++ Program to Swap Two Numbers
›
C++ Program to Swap Two Numbers:Swapping means to interchange the value of two variables.For example if variable a store 10 and another v...
Wednesday, 27 August 2014
C++ program to add two arrays
›
C++ program to add two arrays: This program first input some element of two array and perform the addition work correspondingly along with ...
C++ program to generate Fibonacci series
›
Fibonacci series is a sequence of numbers in which every number is equal to the sum of previous two numbers.Here a program is given below...
C++ program to check number is prime or not
›
The number which is only divisible by one and itself is called prime number.For example 13 is a prime number which is only divisible by 1 ...
C++ program to add two complex numbers
›
C++ program to add two complex numbers:Complex number means the combination of real number and imaginary number, which is in the form of a...
C++ program to reverse a number
›
C++ program to reverse a number: Reverse or invert the input number. This can be useful to check if an integer is a palindrome or not. ...
C++ program to add two numbers
›
Here is simple C++ program to add two number is given below, which simply take two number and print the sum on output screen. C+...
C++ hello world program
›
This is the first C++ program which simply prints Hello World on output screen.As you know that in C++ the object cin and cout are used in...
Tuesday, 26 August 2014
C program to Display Factors of a Number
›
C program to Display Factors of a Number : This program takes a positive integer from an user and displays all the factors of that number....
C Program to Calculate Difference Between Two Time Period
›
In this program, user is asked to enter two time periods and these two periods are stored in structure variables. This program calculates t...
C Program to Store Information of a Student Using Structure
›
In this program, a structure(studentinfo) is created which contains name, roll and marks as its data member. Then, a structure variable( s ...
C program to Calculate the Power of a Number
›
C program to Calculate the Power of a Number : This program below takes two integers from user, a base number and an exponent. For example...
‹
›
Home
View web version