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

what are the effects of global warming
16.   The main reason self-confidence is important in human relations is because
What is 3/50 as a decimal And show work
How are continental volcanoes formed?
Tim solved a system of linear equations. He found that an infinite number of points satisfied the system. What do you know for certain is true about the two lin
8. Intrusive igneous rock bodies are called A. tephra. B. tectonics. C. cinder cones. D. plutons.
If the diameter of a circle is half of a yard, then its radius is how many inches?
WHAT COULD HAPPEN IN THE BODY IF PROTEINS OR ENZYMES LOST THEIR CONFORMATIONS OR WERE DENATURED?
How and where has oil, road development, mining, dams and agriculture contributed to local economic, political, and land use issues?
What factors add to get -18 and multiply to get 75?