praveen2582 praveen2582
  • 04-03-2020
  • Computers and Technology
contestada

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.

Respuesta :

kendrich
kendrich kendrich
  • 09-03-2020

Answer:

#include <iostream>

using namespace std;

int main ()

{

int num;

cin>>num;

cout << num<< " " << 2 num << " " << numnum;

return 0;

}

Explanation:

See answer

Answer Link

Otras preguntas

Evaluate the expression for x = 8, y = 4: x + 10/y+5
Any help would be great
Please help meh!!!!!!!!!!!!!!!! !
The elements least likely to form bonds are found in which group?
A chemist mixes 175 millilters of solution that is 62% acid with 75 milliliters of pure acid. What percentage of the resulting Mixture is acid
what polynomial has roots of -5, - 4 and 1​
what set of Transformations are applied to parallelogram ABCD to create A'B'C'D'?​
Find the solutions to x^2=27 A x= +/- 9 √3 B x= +/- 3 √9 C x= +/- 3 √3 D x= +/- 9 √2 FIRST TO ANSWER CORRECTLY GETS BRAINLIEST :-)
explain the statement "atomic weight or molecular weight is a relative weight"
What enabled the Pilgrims to survive “the Starving Time”?