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

choose the correct answer 14: which of the following force follows the inverse square law of distance A: gravitaional force B: electromagnetic force C: both (a)
WILL GIVE BRAINLIEST
In what region is Albuquerque located?
HELP ME!!!!! im lost......There are 25% more 7th graders than 6th graders in band. If there are 135 total 6th and 7th graders in the school band, how many 6th g
calculate 15% of 980.47​
Which persuasive appeal do you think is the most effective in advertising? Explain.
For how long do you think Connie had kept Jim’s letter? Give reasons for your answer.hints:- very long time preserved in a secret drawer in a tin box No clea
Waht is Environment Secretary ​
how much did jason spill
Solve the equation. m2-14 – 29