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

Two diverging light rays, originating from the same point, have an angle of 5° between them. After the rays reflect from a plane mirror, what is the angle betwe
Write a complete reaction of succinic acid and acetic anhydride
You would expect a phosphorous-chlorine bond to be 1. nonpolar, with the neither end having a partial charge. 2. polar, with neither end having a partial charge
If f(x) is 4x-3 what is (f^-1of) (10)
what does como eres tu mean in spanish?
How would you define psychological realism?
let g(x)=x-3 and h(x)=x^2+6 find (h o g) (1)
Compute the odds in favor of rolling a sum of 10 in a single roll of two fair dice
An ice cube is dropped into boiling water. How will heat flow between the water and the ice cube?
What are the characteristics of mass culture?