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

Fine the 5th term of the sequence which had a first term of 1 and has a common ratio 2.3 round you're answer to the nearest hundredth if necessaryA. 27.98B. 11.
Explain what happens if a bacterium is placed into an isotonic, hypotonic, or hypertonic solution.
Kia went to a hypnotherapist for treatment. which of her problems might hypnotherapy be most helpful for?
The primary difference between a naturalistic observation and a laboratory observation is the degree of
∠ABC≅ A. ∠NMP B. ∠MNP C. ∠NPM D. ∠PMN
A water bill has increased by 25% to £52.50 work out the original cost?????
Satire is easily written if you consider the problem first and then propose outrageous solutions to it. true or false
Which of the following is a 6-point driving infraction in the state of Florida? Caught with an open container of alcohol as an operator Conviction for unlawfu
Which of these is not a risk factor for teen drivers? Fifty-six percent of crashes involving teens occurred on a weekday. Teens are more likely to misjudge dan
Which expression is equivalent to