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

All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
What value of x makes the equation true ? 4(2x-4)=16
All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
What value of x makes the equation true ? 4(2x-4)=16
All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
find the circumference of a circle whose radius is 15.4cm
find the circumference of a circle whose radius is 15.4cm
What value of x makes the equation true ? 4(2x-4)=16