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

Which of the following statements about entropy is true? a. Entropy increases going from one trophic level to another. b. Increases in entropy lead to reversi
Something that people want will almost always be somewhat scarce (no matter how much of it physically exists) because __________. a. it has a high price b. hu
What is the key feature of a business?
The number 248,682 rounded off to the nearest hundreds becomes
What is not true about the War Production Board (WPB)? A• It supervised the production of $185 of war goods, B• The WPB could halt the creation of non-essentia
What did the Northwest Ordinance of 1787 prohibited in land north of the Ohio River? A. hunting B. voting C. slavery D. child labor
How would one respond to the following? ¿Quién habla contigo? ¿Cuándo estudias con ella? ¿Qué escuchas con ellos? ¿Dónde practicas el español conmigo? ¿Qué mir
Characteristics of an allegory
In General Zaroff’s opinion, what makes humans the most challenging game to hunt?
How many molecules of H2O are there in 1.0 g of H2O?