Declaration of integer

Posted on Posted in C/C++, Programming

Declaration of integer Type Variable in C/C++

#include <iostream>
using namespace std;
int main()
{
	//Defining Data Type "Int" and Variable "Value"...
	int Value;
	//Message Output...
	cout<<"Enter Some Integers: "; //Getting Values From User... cin>>Value;
	//Showing Message And Value Stored In Variable...
	cout<<"Integers You've Entered Are: "<<Value;
	//Breaking Line...
	cout<<endl;
	system ("Pause");
	return 0;
}