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 is the chance that the next child will be a male if the first six children in a family were females??? A) 100% B) 75% C) 50% D) 0%
The school band is practicing their scales. As the pitch and frequency of the notes increases, what happens to the wavelength of the notes?○ The wavelength incr
What two numbers add to 7 and multiply to -44
Where to connect the lines? Pls answer
A person ran westward for 1600 meters in 8 minutes. What was their speed?
pl spls plsl plsp pls help
The equation of a function is given. f(x)=(2x-3)(3x+4) What is one of the zeros of the function?
You buy a tree That is 7" high and plant it in your front yard and it grows 5 inches every year! You plant an Oak that is 11" high and grows 3 inches per year!
Según el texto, ¿cuáles son las medidas para frenar los efectos del cambio climático?​
The driver again took his seat, and shaking his reins, started off at a great pace. This time, after going to the far side of the Pass, he suddenly turned down