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

p is an odd number. Explain why p^2 +1 is always even number
Click to review the online content. Then answer the question(s) below, using complete sentences. Scroll down to view additional questions. Online Content: Site
Jordan bikes at a speed of 8 2/3 mph. How many miles will he bike in: 3 hours
bumuo ng isang maikling slogan sa isang short bond paper na ang tema ay tungkol sa kahalagahan ng papel na ginagampanan ng iyong magulang nakakatanda at alitan
Cuales fueron las corrientes pobladoras de argentina? Principales ciudades y motivos por los que se fueron
I need help asap i will give good rating make sure to keep answer in exact form
Pythagorean theorem level 2 delta math
Jose wants to fence in his garden. The shape is a rectangle. Two sides are each 12 feet long. The other two sides are each 108 inches long. He buys 40 feet of f
a. ¿Cuál era el objetivo de las guerras floridas?
Good afternoon..Can you help me?Make a short conversation using two expressions from the material "Cause and Effect"(3 person)Thankyou :)​