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

23, 34, 27, 7, 30, 26, 28, 31, 34 What number is an outlier for the given data? A) 7 B) 23 C) 31 D) 34
Answer question from picture.
Which term best describes the situation in which a sleep medication taken with alcohol causes loss of consciousness?
Which location was the processing point for immigrants who arrived on the East Coast?
What strength of the continental army was significant to its ultimate victory?
All of the following were United States presidents except which one? A.James Carter B.Woodrow Wilson C.William Seward D.Thomas Jefferson
which primate trait is least important for arboreal life? A.) Reduced reproductive rates B.) Complex brains C.) Binocular vision D.) Mobile limbs E.) Bipedalism
give an example of a trait that is controlled by more then one gene
Which Founder was essential in getting the support of France during the American Revolution?
Nitrogen and carbon are important to life because _____. they're needed to breathe they are needed for cellular growth they produce water they have strong bonds