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

what is the correlation between climate and the tree growth rings
is -77.49 a integer?
What are the main reasons given for the early colonists coming to America?
Which inequality represents all values of x for which the quotient below is defined? 28(x-1) = 8x? O A. x less than or equal to -1 B.x great than or equal to 1
Enter the decimal 1.27 (repeating decimal)as an improper fraction in the simplest form.
g(x) = 2x + 2 f(x) = 3x - 4 Find (g • f)(-6) -34 -42 -36 38
Common sites for pressure injuries are:
14 more than the product of 59 and q Write an algebraic expression
4) Identify the adverbial clause in the following sentence. Although I enjoy chocolate ice cream, strawberry is my favorite flavor. strawberry Although I enjoy
Solve the system of equations using any method. y = x2 + 4 y = 2x + 4