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

the universal law of gravitation states that the force of attraction between two objects depends on witch quantities?​
15PTSSSSSSSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 19) Student Heights in Inches: 54, 55.5, 56, 56, 56.5, 57, 58, 58, 58, 58.5, 58.5, 59,
HELP ME!!!! What is an allele?
PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! PLEASE Which expression represents a quadratic expression in complete factored form? A. (x − 1)(3x − 9) B. (x + 4)(x
A * blank * of linear equations is two linear equations consider together
Find the point of intersection of these lines: x+y=5, 2x–y=16 and x+2y=3.
what does the acronym Dash stand for​
A relationship betheeen species in which one species benefits and the other is harmed is called
What would be the best title for my report about peaceful protesting?
Which parts of the spectrum show the presence of elements in the stars atmosphere