×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
using namespace std; int main() { int x; cout << "Type a number: "; // Type a number and press enter cin >> x; // Get user input from the keyboard cout << "Your number is: " << x; return 0; }
Type a number: