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

the coordinates of point A are (-6, 4). the coordinates of point B are (3, 4). which expression represents the distance, in units, between points A and B?
what's an improper fraction
what are three major water problems in southwest asia?please help!
what is 3\13 times 143 equal
ted is making three picture frames like the one shown below.what length wood does ted need for all three picture frames?
whats the integral of 1/X
which is an example of an intentional injury
find the slope of the line that contains (1,6) and (10, -9).
what is 140/216 in simplest forms
15 is 70% of what number