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

In the 1500s, the council of trent was led by a group of lutheran ministers who wanted to spread their ideas. catholic cardinals who wanted to reform the church
which of the following led to the growth of nationalist in the middle east after the Great War? A. Russian imperialism B. disintegration of the Ottoman Empire C
Which of these is a property of bases? They produce hydrogen gas when reacted with metals. They feel sticky. They turn litmus paper blue. They taste sour.
Vertebrates first arrived during the _________________. Question 7 options: Mesozoic Cenozoic Paleozoic Precambrian
What percent of 65 is 13?
Which of the following correctly simplifies the expression 2 to the power of 2 multiplied by 6 to the power of 0 whole over 7, the whole cubed.?
who invented peanut butter
I need help I'm lost lol
Man in prison talks about his girlfriend and calls her a mule what is she
Which of the following is a reason that people of the 18th century wrote travel narratives? I. to help create business relationships with people from other cul