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

find the sum of 7a 3 14a 12 and -6a 3 12a 2 -7.
Write the equation, in slope-intercept form, of the line that has a slope of 2 and passes through the point (3, 1).
Who was the 21st president of the united states?
which part of the original work should an adaption retain
2 propeties of copper
why does dust finger read the ending of the story when he has the chance in meggie's bedroom? What stops him?
7. A series circuit contains a generator, two devices, and connecting wires. The resistances of the two devices are 15 ohms and 10 ohms. The voltage supplied
As trade helped spread greek culture and brought other cultures to greece, it became a ______________, or center of new ideas
Which of the following is not an example of a belief associated with the Muslim faith?
Solve and check the inequality, if possible. |8m + 4| < 12