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 first permanet english settlement in north america was boston jamestown plymounth st.augustine
How many cells are in your body.
What impact does point of view have on the cask of amontillado? explain how the story would be different if told from fortunatos point of view
Your auto insurance policy has a $200 monthly premium and $700 deductible. what is the maximum amount you will have to pay out of pocket for a car accident befo
how deep is the main waterfall at parque nacional iguazu a. 26 feet b. 160 feet c. 260 feet d. 2,600 feet
The product of six minus a number and five equals sixty when divided by 2. Which equation represents the sentence? A) 6(x - 5) 2 = 60 B) 5(x - 6) 2 = 60 C
What spell was put on the monkeys paw by a fakir? Why did the fakir put the spell on the paw?
A farmer wishes to paint the side of a cylindrical grain silo of height 60 feet and diameter 24 feet. If the paint is to be applied in a coat 1/8 inch thick, us
Which president would have been most likely to agree that the government should be widely expanded to protect the most vulnerable americans?
is 8542 a even number