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

how are the themes and topics different
What is HIV and the causes
In little Marsden the population is 17 222. The men and women together total 9142 and the women and children together total 13 201. There are ...... Women There
What is the formula for the volume of a cuboid?
which of the following suffered most from DDT poisoning in the great lakes region
what describes the solvent in any solution
A pack of 9 toilet rolls costs £4.23 A pack of 4 toilet rolls costs £1.96 Which pack gives the better value for money? You must show all your working.
what are the landforms of vermont
what is perpendicular to y= 3x -9 and passes through the point (3,1)
What is the formula for the volume of a cuboid?