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 state tax incentive is an example of":
Which of the following is part of the molarity equation? moles of solute moles of solvent moles of solution
The general equation for depreciation is given by y = A(1 – r)t, where y = current value, A = original cost, r = rate of depreciation, and t = time, in years. A
how many atoms in 8.2 moles of zinc
Which of the following has caused suburbanization and urban sprawl to become more common in the developed world? Conflicts resulting from social heterogeneity
How many layer are there
Why do tropical cyclones develop in late summer?​
What happens to momentum when objects stick together.
why did enslaved and free african america women face double discrimination in the colonies
How did the Portuguese justify their conquests/colonization? ​