Write an expression that attempts to read an integer from standard input and store it in an int variable, x, that has already been declared.

1
Write an expression  that attempts to read an integer  from standard input and store it in an int variable, x, that has already been declared.

LANGUAGE: C++

CHALLENGE:

Write an expression  that attempts to read an integer  from standard input and store it in an int variable, x, that has already been declared.

SOLUTION:


cin >> x;

One comment

Add comment