C++ Simple Program


If you are using visual studio than this program will work but if you are using Turbo C++ software than you should write  #include<iostream.h> instead of  #include<iostream> and using namespace std are not used i Turbo C++ software.


  1. int means integer which is data type of a variable.
  2. cin stands for console input.
  3. Endl is used for new line.
  4. cout is used for console output.


A Program that takes an input as a value of an integer and output this value

using namespace std;
void main()
int a;
cout<<“enter the value of integer a”<<endl;
cout<<“the value is:”<<endl;

cout<<”                  ***********THANKS VERY MUCH***************                           “<<endl;


Leave a Reply

Your email address will not be published. Required fields are marked *