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

Brinn's rectangular kitchen has an area of 81 square feet. The kitchen is 9 times as many square feet as Brinn's pantry. If the rectangular pantry is 3 feet wid
In the Declaration of Independence, Thomas Jefferson listed a series of grievances that colonists had against British rule. What purpose did this serve? The lis
How do you Graph 0=x+1/4y+1/2
The Idol has a mass of 2 kg how many liters of sand messy place on the pedestal to keep the mass sensitive booby trap from activating density of Sandy's 3.00 g
Which practice was common among modernist poets?
I Am A Number That Is Double The Product Of 2 And 7. One Of My Factors Is 7 What Is My Other factor
Simplify the expression. 5 ^ 0 A. 0 b. 0.5 c. 1 d. 50
at summer camp the ratio of boy to girls was 7:1. If there were 63 boys, how many girls were there
who were the first practicing muslims
Bones contain more ________ than any other organ. A. Iron B. Phosphate C. Calcium D. Vitamin C