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

first answer = brainliest
which function matches the graph (absolute value)
12. Equilibrium is reached when what occurs?
As an anti-federalist, he had the support of the South agriculture but not the North businesses.
Question 8 Calculate the volume at RTP occupied by: a) 0.16 g of oxygen ​
identify the ways in which landscape paintings of the Tang and Song dynasties were unique
Triangle ABC is an isosceles triangle with AB = BC and mA=75°. What is mB?
as a prefect, prepare a short speech about the laboratory​
help please i am toooo smart to know
Select the best response to the following question. "¿Quién es ella? Ellas son Ana y Teresa. Nosotras somos amigas. Es mi abuelo. Es mi madre.