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

Why does Teresa pray for God to give light to the Lutherans?
Person A Sells a bicycle to person B at a profit of 20% and person B sells it to person C at a profit of 25%, If person C pays 1500, What did person A pay for i
A rectangular seating chart has an area of 10 in by 14 in. There are 2 in by 2 in squares with students’ names on it. What is the probability that a student is
ΔRST and ΔXYZ are equilateral triangles. The ratio of the perimeter of ΔRST to the perimeter of ΔXYZ is 1 to 3. The area of ΔRST is 10.825 square inches. What i
Toddlers look to their parents and caregivers for ____ while performing tasks. This helps in building positive self esteem.
Why might some people feel that the United States should not be imperialistic?
Which group led a revolt in Naples with the goal of forcing the Spanish Bourbon king to agree to a constitution?
How do I do this? Series and parallel circuits.
Why were the Nuremberg Trials held from 1945 to 1946? A) to divide Germany into East and West sections B) to judge Soviet leaders who tried to blockade Berlin
11,17,18,19,23,21,14 what is the median