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

What are the coordinates of the vertex of the table? Is it a minimum or a maximum? X Y 0 1 -1 -2 -2 -3
Describe four approaches to understanding stress. how does each add something new to our understanding of stress?
PLZ HELP WILL GIVE BRAINLIEST and explain
Song corp's stock price at the end of last year was $16.75 and its earnings per share for the year were $1.30. what was its p/e ratio?
Regarding alcohol use, a more important factor that is most likely to exert the most influence on a person's view is
How did japanese society change during the isolation period?
When two countries sign a treaty, what guarantees it will be upheld?
The blue shape is a dilation of the black shape. What is the scale factor of the dilation?
How should a cover letter begin? A.With an informal greeting like "Hey, there!" B.With the hiring manager's name C. With the name of the position D. With "To W
What is not a mixture of the Puerto Rican culture?