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

You and a friend are being picked up from the movies by your friend's mom. She's told you where she parked and has asked you to walk over to her car so that she
a major type of ecosystem that is characterized by a particular climate and species composition
The graph of linear function g passes through the points (-7, -4) and (7, 6)
A sample of 10.5g of Nirtogen reacts with 20.2g of Hydrogen to produce ammonia. 3H2(g)+N2(g)=2NH3(g)a. What is the theoretical yield of ammonia?b. What is the l
Solve for x x= 4x+2 3x+24
QUESTION 13 An art student wants to enlarge a triangle with the sides 8, 8, and 14 cm. The new triangle will have a measurement of 21 cm on its longest side. Ho
In the novel Frankensteln, what does the creature mean when he tells Victor Frankensteln that he will -be with (him] on (his] wedding night"? A The creature int
WILL GIVE BRAINLIEST find the y-intercept of the parabo;a y= -33/4 x^2 + 4
Do you think the benefits outweigh the risks for using nuclear energy? If not, why not? If so, explain.
Find the surface area. Round to the nearest tenth, as necessary. I need helpppp ASAP Please