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

In what form is the following linear equation written? v-3 ={(x-1) O A. Slope-intercept B. Standard O C. Point-slope D. Rise-run SHRM
What is the formula for an ionic compound made of carbon and oxygen?
Sarah said, "There is only one possible third side for a right triangle with two sides measuring 9 units and 15 units.' Sarah's claim is not true. Give the two
what word is used to describe the distance between a point on one wave and the same point on the next wave?
A stock solution is made by dissolving 66.05 g of (nh4)2so4 in enough water to make 250 ml of solution. a 10.0 ml sample of this solution is then diluted to 50.
which pollen grains are involved in insect pollination
What is the answer to this?
What do you think the purpose of political parties
In 1792, washington was made an honorary citizen of what country?.
Where did the transcontinental railroad start and end.