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 house has five doors. the number of windows is two more than 5. how are there?
a penny dropped into a wishing well reaches the bottom in 1.50 seconds. what was the velocity at impact
Which is an effect of short-term exposure to stress?
Mrs.Jacobsen purchased a 5-pound package of ground beef for $12.40. She decided to use 8 ounces each day for dinner recipes. What was the cost of ground beef pe
what digit can be in the ones place of a number that has 5as a factor
Igneous rocks with an andesitic composition ________.
What is the answer for N+4=6
ronald states that number 1/11 is not rational because, when converted into a decimal, it does not terminate. nathaniel says it is rational because it is fracti
what the difference 400 273
Do URLs identify the location of Web content?