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

A company that sells multiple types of products has a selling price per composite unit of $150, variable cost per composite unit of $50 and total fixed costs of
Which is an external influence that could affect food choices? O media O genetics O taste O emotions
Magnets produce _________ in the spaces surrounding them
If a Polyhedron had 58 edges and the same Number of faces as its Vertices , How many faces does it have?
(d) X(-12) = 132help me with equations ​
When a minor falsely advises the other party that he is of the age of majority and based upon that misrepresentation, the other party in good faith enters into
Someone to help me with these math problems please !!!
Think about a suspense movie you've watched- one that makes you feel nervous about what might happen to the other characters
In how many ways can a sample of 6 keyboards be selected so that exactly two have an electrical defect
suppose △abc≅△xyz. what is the corresponding congruent part for each segment or angle?​