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

27 devided by 1053 in decimal form like 528.6
what is the percent notation for 6.4%
ray wants the larger of two aquariums.One aquarium has 20 in. by 20 in. and has a height of 18 inches.The other aquarium has a base that is 40 in. by 12in. and
27 devided by 1053 in decimal form like 528.6
You are given an aqueous solution of NaCl. The simplest method for the separation of NaCl from the solution is (A) evaporation of the solution to dryness (B) c
27 devided by 1053 in decimal form like 528.6
what is the volume of an area? what is a polynomial?
differentiate benzene and cyclohexane
Approximately how many miles apart are Petrograd and Moscow ? A. 200 B. 350 C. 500 D. 650
Hello. For my french class I have to write a letter to my french friend. In this letter I have to talk about spending my holiday at his house. (for example: wha