0
Entering a number
How do I enter a number with the "cin" programs
1 Respuesta
+ 2
You have to declare a variable that will hold the number and after you use the cin command, like this:
int x;
cin >> x;
//then you can print the number if u want
cout << x ;