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

Plz I really need help with this one
Sketch what you observe when examining the onion root tip using the low power lens in the high-power lens. Label to sketches and buy a brief description of yo
Kirsten's work is shown below: 1 x 1.75 = 1.75 10 x 1.75 = 10.75 100 x 1.75 = 100.75 1,000 x 1.75 = 1,000.75 This is the correct pattern: 1 x 1.75 = 1.75 10 x 1
How did Martin Luther King Jr's act in the civil rights affect america?
Plz I really need help with this one
PLZ HELP ME WITH THISSSSSSSSS? with number 1
How do you solve 2/7k - 3/8 = -19/8
How many times can 72 go in 92?
Phillis Wheatley's poem in praise of evening contains many descriptive details about the natural world. Would it be possible to praise evening in a poem contain
Which of the following is not true concerning tropical plantations? a. They are generally found in humid, tropical climates. b. Wheat and corn are common prod