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

( 3 /4 ÷ 3 /100 −47/2 )÷4/2 · 2 /3 +7/6
a family has six children. if this has exactly one boy,how many different birth and gender orders are possible?
In Figure 8–4, why might the candle in jar A burn longer than the candle in jar B?
A Pentagon has angle measure of 101°,103°,115°and 113° what must the fifth angle measure? The fifth angle measures
You spend $264 on clothes. Shirts cost $2 and pants cost $32. You buy a total of 9 items. Write a system of linear equations that represent this situation.
Fiona's laptop computer weighs 2.5 kilograms what is the wheight of the computer in grams
Give the slope-intercept form of the equation of the line that is perpendicular to –7x + 5y = 12 and contains P(–7, 4).Select an answery = x y = x y – 7 = (x +
Round 75.64 point, to the nearest ten
How do countries become richer than others?
Cite (in Chicago style) two primary sources you find, either linked to your course or on the Internet, and two secondary sources. Describe why a historian would