Write a complete program that declares an integer variable, reads a value from the keyboard into that variable, and writes to standard output  the square of the variable ‘s value.

LANGUAGE: C++

CHALLENGE:

Write a complete program that
~declares  an integer  variable ,
~reads a value  from the keyboard into that variable, and
~writes to standard output  the square of the variable ‘s value.

Besides the number, nothing else should be written to standard output .

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,