C++

C++ Program to Print Number Entered by User

#include <iostream>
using namespace std; 
main()
{    
    int number;
    cout << "Enter an integer: ";
    cin >> number;
    cout << "You entered " << number;    
}

Download Link


Related Articles

Leave a Reply

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

Back to top button
Close
Close