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

can someone pls help with this
help me pretty pleaseeee
You check the thermometer at 8:00 A.M. and the temperature reads 32 degrees Fahrenheit. You check the temperature again and realized it had dropped 11 degrees.
HELP ASAP! GOING 30 POINTS AND BRAINLIEST! Was Christopher Columbus a hero or a villain? Seminar questions: 1. Were the motives for the actions of Christopher C
I have the answer but I need proof I got that answer. Please draw it on the pic! I will give 50points and a brainiest point who ever answers!
What is one way the Romans were able to conquer such a large territory? A. They would not often trade with other culturesB. They won military battles including
pleas I need help very much
If a apple tree has 200 apples and some one takes half how much would there be left
Help me, will give about 12 points
Sort the descriptions into the appropriate categories ​