Tag: 10514

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.

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 .

Read More