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

The thumb and forefinger forming a circle means "okay" in the u.s.a., but it means _____ in japan.
Find the side length of the largest cube which can fit inside a sphere of diameter 24 cm
What is the most important thing to take into account when putting together a team?
What is 65/200 simplified
Solve 2|4w−1|=3|4w+2|. Apparently there are two answers for w I already found -2, but I need the other one. If possible, please show your work so I know how to
What happened to hycinthus after he died?
Why is erythropoietin secreted in larger quantities in patients with anemia or anoxic stress?
How does changing the function from f(x) = 3 sin 2x to g(x) = 3 sin 2x + 5 affect the range of the function?
is -15 a whole number?
For each relation between countries, explain how their relationship changed or developed from the beginning of the war to the end of the war. This is for (Brita