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

DO ANYONE WANT EXTRA POINTS?? Solve this and get brainlest and points​
Scenario C At DoubleTalk, Inc., Joe, a supervisor, pushes his employees' performance by constantly checking their work and threatening them if they fail to keep
What is the voice of the following sentence ? They thought the sofa would look nice underneath the window. A. active B. passive
True or false? Florida became a state during George Washington’s first term in office
Are u anti semi if yes explain ur answer
which of the following is the clearest and most effective sentence?A. John sister was the prettiest girl at the party. B. John is a man with a sister who is att
A car salesman had $65,100 in sales. He earned $1,953 in commission. What percent commission did he earn. Explain your answer. How long was the loan Inter
¿Cómo se dice 'the pencils' en español?
Josh manages security at a power plant. The facility is sensitive, and security is very important. He would like to incorporate two-factor authentications with
math please help! thanks