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

I need help read the problem
One animal dies in a desert area. With the help of scavengers and bacteria it decomposes completely in the hot sun. A second animal dies while drinking in a str
What is the product of 2p + q and –3q – 6p + 1? –12p2 – 6pq – 4p – 3q + 1 –12p2– 12pq + 2p – 3q2 + q –9p2q2 + 12pq – 2p + q 12p2 + 12pq +2p + 3q2 + q
More than ______ people have immigrated to the u.s. between the years 1820 and 2012.
explain how you would use the commutative property of multiplication to answer 7x3
Will give brainiest answer. A. It has a parasite–host relationship with the robin because it uses the robin’s nest. B. It has a predator–prey relationship with
The number 4,592 rounded to the nearest hundreds is .
WILL UPVOTE EVERY ANSWER! MULTIPLE CHOICE QUESTIONS! Which factor is MOST responsible for the ocean tides? A) the wind B) earthquakes C) the moon's gravity D) d
What city do italians know as firenze?
Within industrialized countries the movement of people from farms resulted in what