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

Peter buys a camper van costing £35000+ 20% VAT he pays a 50% deposit and then arranged to pay the remaining balance in 20 equal monthly instalments calculate t
Meagan was promoted to vice-president of a major electronics manufacturer. Two days before the promotion, she had given an excellent speech highlighting her man
I WILL MARK BRAINIEST IF ANSWERED ASAP!!! Which of the following will most likely create an island? A. Water dissolving limestone bedrock B. Overflowing of a l
What symbolic meaning is suggested in the "Hunt of the Unicorn" series of tapestries (Fig. 19-8)?
What did the term "doughboy" refer to in World War I?
If the slope of a line a is 3/4, then the slope of a parallel line is b is 4/3 True or false?
What group occupied Texas before the Europenas came?
Why does brillo stand up to hannetjie/9963993/3ffa4e1c?utm_source=registration
Which answer describes the function f(x)=x^5+2x ? odd even neither
what is the answer to 4 math question 24 is greater or equal to 8 - 4w