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

Through which duct can pancreatic juice be released into the small intestine without also releasing bile?
what is a plant root an example of
Compare and contrast epidural and subdural hemorrhages.
Which type of contraception is a barrier method of birth control? intrauterine device sponge injection patch answer fast and there is only one answer
Select the two binomials that are factors of this trinomial. x^2+6x+8
1. Why do we want to write a clever title?
Use the distributive property to simplify the expression. -6(tsquared+3)-2(tsquared-2)
Choose the expression that represents a cubic expression. a. 19x^4 + 18x^3 - 16x^2 - 12x + 1 b. 10x^3 - 6x^2 - 9x + 12 c. -9x^2 - 3x + 4 d. 4x + 3
What were the effects of the Transportation Revolution
-42.8451 Round the result to the nearest tenth and then to the nearest hundredth