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 terms best describes a large retail store that provides one-stop shopping for consumers seeking many different kinds of products, such as
for geometric sequence below, determine the explicit formula. be sure to enter your answer as a formula of the form a_n= a_1(r)^(n-1) with the correct a_1 and r
A washer and a dryer cost $942 combined. The washer costs $42 more than the dryer. What is the cost of the dryer?
To determine power it is necessary to know the
The revision in 1994 of the gatt clearly defined intellectual property rights in order to
At which of the plot are characters introduced??
How to find slope and y intercept 6x-5y=15?
A computer and printer cost a total of $908. The cost of the computer is three times the cost of the printer. Find the cost of each item.
If you add meoh to cocl2(alc)2, the cocl2(alc)2 concentration will change. what are the two reasons for this concentration change?
The quotient of two negative integers results in an integer.How does the value of the quotient compare to the value of the original two integers?