C++ tutorial, C++ programs, C++ Exercises, C++ Example Programs

Thursday, October 31, 2013

Program Find Out Square Cube of Number

/*Program to input a number, then display its square and cube.(c) Www.EasyCppProgramming.Blogspot.Com*/#include<iostream.h>#include<conio.h>#include<math.h>void main(){     int num, square, cube;     clrscr();    ...
Share:

Tuesday, October 29, 2013

Program Exchange Values Without Third Variable

#include<iostream.h>#include<conio.h>void main(){     int v1, v2;     cout<<"Enter value of first variable:";     cin>>v1;        cout<<"Enter value of...
Share:

Friday, October 25, 2013

Program to Swap Values of Two Variables

#include<iostream.h> #include<conio.h> void main() {      int v1, v2, temp;      cout<<"Enter value of first variable:";      cin>>v1;          cout<<"Enter...
Share:

EasyCPPprogramming.blogspotcom