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

Benjamin Franklin is often given credit for the creation of these vision aids in the 1700s. A) bifocals B) contacts C) eyeglasses D) frames
ill give u brainliest pls help asap! A bus company charges a fixed amount plus a fee based on the distance traveled. The cost chart for the company is shown: Co
ill give u brainliest pls help asap! A bus company charges a fixed amount plus a fee based on the distance traveled. The cost chart for the company is shown: Co
Jim wants a game that cost $35.95. There is a 20% sale going on in the store, how much will he pay for the game?
PLZ HELP IM BEING TIMED !!!!!! The side lengths of the triangle above are 24.6 cm, 42.558 cm, and 49.2 cm. A similar right triangle will have which of the follo
(50 points) In a house the size of a postage stamp lived a man as big as a barge. His mouth could drink the entire river You could say it was rather large For
According to Kipling, what is the "white man's burden"?
I need this question answered ASAP
whats the meaning of poll tax?
write about the reasons your body might need new cells.