9.c++ program to print number entered by user


 

// C++ program to print number entered by user


INPUT:


#include<iostream>

using namespace std;

int main()

{

    int a;

    cout<<"Enter an integer : ";

    cin>>a;

    cout<<"\n"<<" You Entered "<<a<<endl;

    return 0;

}


OUTPUT:






Comments

Popular posts from this blog

8.c++ program to check whether the number is even or odd

1.c++ program to find the total marks and average of three subjects

4.c++ program to compute quotient and remainder