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

Oh, Good Grief!.....
What made austria-hungary an unstable empire leading up to wwi?
Simplify the product
If a shock victim is feeling cold what should you do
If the legs of a right triangle measure 5 and 10 what is the length of the hypotenuse
What is the name of the base represented by the formula NH4OHa) ammonium hydroxideb) hydrogen hydroxide c) nitrous hydroxided) nitrogen hydroxide
An acid containing the cooh group is called a carbo-oxy acid.
Foodborne illnesses can not only be uncomfortable, they can also be fatal. Which of the following is an example of a foodborne illness?
If there are initially 2000 bacterial in a culture, and the number of bacteria doubles each hour, the number of bacteria after t hours can be found using the fo
Solve this system and list the method that you chose graphing substitution or elimination Y=2x-12 Y=-x+3